Closed

MatLab to C# Converter

This project received 24 bids from talented freelancers with an average bid price of $1218 USD.

Get free quotes for a project like this
Employer working
Project Budget
$300 - $1500 USD
Total Bids
24
Project Description

A high-tech company is looking to contract a MatLab to .NET C# source code converter. The solution should only handle the basic programming constructs in MatLab and produce the equivalent and optimal C# source code; this includes arrays, loops, etc., but does not include graphics, toolboxes such as signal processing, etc.

As it is rather hard to specify which parts of the MatLab language should be supported, here is an algorithm snippet which should be supported in full. The offered solution should support the constructs in the snippet, and bidder should be available for follow-up work in additional pay to complete missing elements.

%[curr_stater, curr_len_stater, prev_stater, next_stater] = deal(param_f{5:8});

% initialize

A=[]; B=[];

A(1,1)=0; B(9,1)=0; % A(time+1,state+1), B(time+1,state+1)

temp_init = -1e3*ones(1,16);

%LL_APP = zeros(1,8);

LL_extren = zeros(1,8);

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

% forward path matric (calc A)

for jj=2:9, % for every time from time=1 to time=8 (note: jj=time+1)

mp1 =curr_stater(1:curr_len_stater(jj),jj); % modif!!!!!!!!!!!!!!

p0p1 =prev_state_0_r(mp1,jj)'; % prev_state(state+1,bit+1,time+1) %modif split into 0 and 1 table

p1p1 =prev_state_1_r(mp1,jj)'; % prev_state(state+1,bit+1,time+1) %modif split into 0 and 1 table

p0_gt_0 =prev_state_0_gt_0_r(mp1,jj)'; % prev_state(state+1,bit+1,time+1) %modif split into 0 and 1 table =prev_state>=0

p1_gt_0 =prev_state_1_gt_0_r(mp1,jj)'; % prev_state(state+1,bit+1,time+1) %modif split into 0 and 1 table =prev_state>=0

temp0= A(jj-1,p0p1) -p0_gt_0.*ymodif(jj-1) +(p0_gt_0-1)*1e3; % ymodif(time+1)

temp1= A(jj-1,p1p1) +p1_gt_0.*ymodif(jj-1) +(p1_gt_0-1)*1e3; % ymodif(time+1)

A(jj,mp1)= max(temp0,temp1); % A(time+1,state+1

end

Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online