On Mar 1, 10:43 am, "Nilesh chandrakar" <
nileshk.chandra...@gmail.com>
wrote:
> thanks,
> I want to generate a vector using linspace function,that have three argument a,b,n.
> please give me a embedded matlab code for linspace function.so that i used it,in matlab embedded function block.
--------------------------------------------
I don't know what an embedded function block is. If that's Simulink,
I don't have Simulink. I'm not sure what your confusion about
linspace is. It's pretty simple, like
a=0;
b = 10;
n = 21;
out = linspace(a,b,n)