Question

Error trying to plot circle

Hi I am trying to plot a circle but I alsways get the same error " Error in circle (line 11) a = r.*cos(v)+j; Can you see why?...

1 day ago | 1 answer | 0

Answered

Functions Matlab, how to modify?

So I tried Turlough's suggestion again and it seems to be working fine now. But since two vectors will be generated (-d,b,c) and...

Functions Matlab, how to modify?

So I tried Turlough's suggestion again and it seems to be working fine now. But since two vectors will be generated (-d,b,c) and...

12 days ago | 0

Question

Functions Matlab, how to modify?

Hi, so I have two vectors, Q = (a,l,m) and Z = (d,b,c). I have created a function to calculate Z, but the problem is that I do...

12 days ago | 2 answers | 0

Question

Functions in Matlab, problem

I have a vector A = (A1, A2, A3) which is orthogonal to another unit vector, v = (v1,v2,v3), whose first coordinate is 0. I have...

12 days ago | 0 answers | 0

Question

How to convert expression to function?

Hi, I am trying to convert my expression to a function, but when I remove the informative text I can not call/run the function. ...

12 days ago | 1 answer | 0

Question

How to not get an ans from function?

Hi, I have created a function and it works the way I want it to. However, when I run the function I keep getting an 'ans' and ...

14 days ago | 1 answer | 0

Question

Coding vectors in matlab

Hi, I am trying to put in my code that two vectors w⃗ = (w1, w2, w3) and ⃗v = (v1, v2, v3), with the lenght of 1, are orthogo...

17 days ago | 1 answer | 0

Question

Orthogonal vectors, how to code?

Hi, I am trying to put in my code that two vectors w⃗ = (w1, w2, w3) and ⃗v = (v1, v2, v3), with the lenght of 1, are orthogo...

18 days ago | 1 answer | 0

Question

Ploting two different vectors in the same figure

Hi, I have two vectors v1=[0; -1/sqrt(2);1/sqrt(2)]; and v2=[0; 1/sqrt(2); -1/sqrt(2)]; which I am trying to plot on the same fi...

19 days ago | 1 answer | 0

Question

Anyone that can find what is wrong about the function?

It says " Not enough input values" but I can not see which values I have missed? Can you?

20 days ago | 1 answer | 0

Answered

Error when trying to modify a code (vectors)

Thanx, but does this mean I can just insert the expressions for v ( v1 = +/- w2/((w3^2)+(w2^2)) and v2 = +/- w3/((w3^2)+(w2^2)) ...

Error when trying to modify a code (vectors)

Thanx, but does this mean I can just insert the expressions for v ( v1 = +/- w2/((w3^2)+(w2^2)) and v2 = +/- w3/((w3^2)+(w2^2)) ...

21 days ago | 0

Question

+/- signs when coding ?

How to type in v1 = +/- w2/((w3^2)+(w2^2)) and v2 = +/- w3/((w3^2)+(w2^2))? The problem is that the vectors can be both positi...

21 days ago | 1 answer | 0