1.yes ,but not every time

2.yes , ,, ,, ,, ,,

3.yes ^ــــ^

4.yes

i will thank you again because you make it easy for me

Printable View

- Dec 27th 2011, 01:48 PMnezarRe: Question in MATLAB
- Dec 27th 2011, 01:55 PMAckbeetRe: Question in MATLAB
Something I've found helpful in MATLAB: remember that MATLAB thinks in vectors. So every time you use a binary operator, like *, you need to do the following:

1. Look at the objects on either side of the operator.

2. Ask yourself what you think those objects are (scalar, vector, matrix, symbolic, whatever).

3. Ask MATLAB what it thinks those objects are. If you're not sure, then go into interactive mode, and execute all lines up to the current line. Suppose the expression you're looking at is x * y, but you don't know what x is. Then simply type x and press Enter. MATLAB will spit back out at you what it thinks x is.

4. See if the results of steps 2 and 3 are the same. If not, you may have a problem. - Dec 27th 2011, 02:57 PMCaptainBlackRe: Question in MATLAB
Look at the first line of the other thread, what do you think linespace does?

Try typing "help linespace" at the command prompt.

CB