|
sure sir,
BTW, since you are good at this, could you help with this one:
I need to get rid of the loop in this, while making the same matrix:
for z = 1 : L
c (:, z) = A(z) : t : A(z)+t*B;
end
thanks a lot.
> On Feb 11, 8:15=A0am, "ali " <amkas...@gmail.com> wrote:
> > I need to "input" a vector in matlab. Looking at the help for the "input"=
> it seems possible to do it with a loop, however, is there a way to do it w=
> ithout using a loop?
> >
> > Thanks,
>
> "input" is unlikely to be the appropriate command for inputting your
> vector, unless you plan to type the numbers in from the keyboard.
> Go to Matlab help screen and look through "data".
> There are numerous methods listed there.
>
> BTW, you should learn to use Matlab help, rather than coming here for
> such basic questions as this and your previous one. And only ask here
> if you get stuck.
>
|