A community for students.
Here's the question you clicked on:
 0 viewing
anonymous
 one year ago
could someone please help me with my matlab code
anonymous
 one year ago
could someone please help me with my matlab code

This Question is Closed

UsukiDoll
 one year ago
Best ResponseYou've already chosen the best response.0I feel your pain. I had to do matlab last semester T_T oh oh! I know who can help >:D @dan815

anonymous
 one year ago
Best ResponseYou've already chosen the best response.0ok thanks! @UsukiDoll

anonymous
 one year ago
Best ResponseYou've already chosen the best response.0could u help me please @dan815

ybarrap
 one year ago
Best ResponseYou've already chosen the best response.3What's the problem? Syntax or logic? You are trying to pick out statistics from you reduced matrix  are you not getting the values you want?

ybarrap
 one year ago
Best ResponseYou've already chosen the best response.3In line 4 of your code  what does pivot=[pA] do? There is not matrix pA defined

anonymous
 one year ago
Best ResponseYou've already chosen the best response.0no yes my code is fine and works well i just have to do something else with it and i dont knw how to do it

anonymous
 one year ago
Best ResponseYou've already chosen the best response.0my original code that works does not have pivot=[pA] nor xp=zeros;

anonymous
 one year ago
Best ResponseYou've already chosen the best response.0it just has pivot=[ ]

ybarrap
 one year ago
Best ResponseYou've already chosen the best response.3So initializing pivot makes sense like that but I don't see where you are using xp in your code. I would expect pivot=[pA] to fail.

anonymous
 one year ago
Best ResponseYou've already chosen the best response.0this is what my answer is supposed to be

anonymous
 one year ago
Best ResponseYou've already chosen the best response.0so then how to i initialize xp to be the zero column vector ?

ybarrap
 one year ago
Best ResponseYou've already chosen the best response.3zeros(m,n) should do it because the particular solutions won't span more than n columns or m rows

anonymous
 one year ago
Best ResponseYou've already chosen the best response.0yes the rest seems pretty straight forward right?

ybarrap
 one year ago
Best ResponseYou've already chosen the best response.3It does if you understand pivots, free variables, particular solutions, the null space, rank etc, and of course Matlab

anonymous
 one year ago
Best ResponseYou've already chosen the best response.0ok its just that im new to this and struggle quite a bit

ybarrap
 one year ago
Best ResponseYou've already chosen the best response.3Have you taken a Linear Algebra class where you studied column spaces and free variables, where n > m ?

ybarrap
 one year ago
Best ResponseYou've already chosen the best response.3then you have a good leg up then  sounds like a good exercise  let me know if I can help any  I loved Matlab  used it for my thesis in EE a while ago

ybarrap
 one year ago
Best ResponseYou've already chosen the best response.3I use Octave now  open source Matlab

anonymous
 one year ago
Best ResponseYou've already chosen the best response.0oh ok i will thanks a lot for your help!!

ybarrap
 one year ago
Best ResponseYou've already chosen the best response.3You're welcome. Good luck my friend!

anonymous
 one year ago
Best ResponseYou've already chosen the best response.0loved matlab. But i moved on to c++ tho. SOrry :(
Ask your own question
Sign UpFind more explanations on OpenStudy
Your question is ready. Sign up for free to start getting answers.
spraguer
(Moderator)
5
→ View Detailed Profile
is replying to Can someone tell me what button the professor is hitting...
23
 Teamwork 19 Teammate
 Problem Solving 19 Hero
 Engagement 19 Mad Hatter
 You have blocked this person.
 ✔ You're a fan Checking fan status...
Thanks for being so helpful in mathematics. If you are getting quality help, make sure you spread the word about OpenStudy.