Community Profile

photo

Sushant Kumar


Active since 2013

Followers: 0   Following: 0

Message

Statistics

Feeds

View by

Question


matlab script when run on simulink through matlab function block gives different outputs.
hi, I have written a matlab script for executing an iterative algorithm. I wish to make a simulink model out of it. Since, the ...

11 years ago | 0 answers | 0

0

answers

Question


Hi, i have to implement an algorithm in simulink. The algorithm computes some unknown parameters through a iterative approach.
I have written the .m file for this algorithm and wish to use this file as a matlab function block in the simulink model. Her...

11 years ago | 0 answers | 0

0

answers

Question


Is it possible to convert a global optimization matlab code, using multistart with lsqnonlin , in to c using codegen?
the main function calls other 4 functions when executed in matlab. Is it possible to frame this problem for codegen?

11 years ago | 1 answer | 0

1

answer

Question


Multstart stuck at initial point
hi, i am using multstart to fit a sinusoid of unknown amplitude, frequency and phase(in this case vector f) with a noisy sinuso...

11 years ago | 0 answers | 0

0

answers

Question


can't turn on the jacobian for lsqnonlin
i have defined my vector objective function like this.... function [r5,jacr5] = myfunction5(N) global F1 F1 = 1...

11 years ago | 2 answers | 0

2

answers

Question


How to change the tolerance of optimization function lsqnonlin()?
I tried changing the tolerance like this.... options = optimset('TolFun',1e-8); [N,resnorm] = lsqnonlin(@myfunction5,n,[...

11 years ago | 1 answer | 0

1

answer

Question


Is there an alternate for sym function in matlab 2012b?
I can't find symbolic math toolbox at all in this version. Is there any other function which serves the same purpose or can anyo...

11 years ago | 1 answer | 0

1

answer

Question


Hi, I am trying to run a simulation with a while loop which modifies the content of a 3 * 1 matrix in every iteration. But it is displaying this error
??? Error using ==> mupadmex Error in MuPAD command: Illegal operand [_index] Error in ==> sym.plus at 14 X = mup...

11 years ago | 0 answers | 0

0

answers