Community Profile

photo

Jenny Andersen


Aktiv seit 2019

Statistiken

  • Thankful Level 3

Abzeichen anzeigen

Content Feed

Anzeigen nach

Frage


What's wrong with my code?
Hi! So I am trying to solve x for M = A^T A och d = A^T b but according to my teacher I should recieve a 3*3 matrix and not a 3...

etwa 4 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


Why isn't my matrix correct?
So I am trying to solve for x in Mx = d, but I only get a 3*2 matrix. I should get a 3*3 matrix. What am I doing wrong? A = ...

etwa 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Why is my circle invisible?
I can not figure out why my circle is invisiable when I plot it (It is a regression). Am I missing something? It used to work ea...

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


least square circle, why doesn't it work?
Hi, so I have four data points (x and y) and I want to find A and B from least square equation Ax=B (to fit the circle's equatio...

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Non linear least square fitting
Hi, I am really stuck trying to figure out how to fit a circle to some data points. I have watched plenty of videos on the top...

mehr als 4 Jahre vor | 3 Antworten | 1

3

Antworten

Beantwortet
How to construct matrix?
This seems like a good idea, but I can't seem to run the script.

mehr als 4 Jahre vor | 0

Frage


How to construct matrix?
So I have written the following 4*3 matrix but I want to construct it with 'ones' and '.*' but I am unsure how to. [12 2 1; 4 ...

mehr als 4 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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?...

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Beantwortet
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...

mehr als 4 Jahre vor | 0

Frage


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...

mehr als 4 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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...

mehr als 4 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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. ...

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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 ...

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to code orthogonal unit vectors?
Hi, I have two vectors, u = (u1, u2, u3) and the vector v = (v1, v2, v3) with the lenght of 1. The two vectors are orthagonal to...

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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...

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Error when trying to modify a code (vectors)
sgh

mehr als 4 Jahre vor | 3 Antworten | 0

3

Antworten

Frage


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...

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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?

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Beantwortet
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)) ...

mehr als 4 Jahre vor | 0

Frage


+/- 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...

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort