Hi, i am new with MATLAB.
I would like to use this formula in for loop: ℓ?=taper1*ℓ?−1
There is no error message but i can't see a proper value on output. (i control my values with calculator programs) (i checked my variables. and confirmed that they are true before this loop).
And my second problem is i don't know how to add new line with every increment.
Here is my try:
l= (1:N); //creating and empty arrayl(1)=((3*(10^8))/(2*f1)); //formula for i = 2:N l(i) = taper1 * l(i - 1); set(handles.popupmenu3,'String',l(i) );end
i tried to add new line with this but didn't work
set(handles.popupmenu3,'String',l(i) \n );
Best Answer