anonymous
  • anonymous
could someone please help me with my matlab code
Mathematics
  • Stacey Warren - Expert brainly.com
Hey! We 've verified this expert answer for you, click below to unlock the details :)
SOLVED
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.
jamiebookeater
  • jamiebookeater
I got my questions answered at brainly.com in under 10 minutes. Go to brainly.com now for free help!
UsukiDoll
  • UsukiDoll
I feel your pain. I had to do matlab last semester T_T oh oh! I know who can help >:D @dan815
anonymous
  • anonymous
ok thanks! @UsukiDoll
anonymous
  • anonymous
could u help me please @dan815

Looking for something else?

Not the answer you are looking for? Search for more explanations.

More answers

anonymous
  • anonymous
2 Attachments
ybarrap
  • ybarrap
What'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
  • ybarrap
In line 4 of your code -- what does pivot=[pA] do? There is not matrix pA defined
anonymous
  • anonymous
no 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
  • anonymous
let me show you
ybarrap
  • ybarrap
ok
anonymous
  • anonymous
1 Attachment
anonymous
  • anonymous
my original code that works does not have pivot=[pA] nor xp=zeros;
anonymous
  • anonymous
it just has pivot=[ ]
ybarrap
  • ybarrap
So 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
  • anonymous
this is what my answer is supposed to be
1 Attachment
anonymous
  • anonymous
so then how to i initialize xp to be the zero column vector ?
ybarrap
  • ybarrap
zeros(m,n) should do it because the particular solutions won't span more than n columns or m rows
anonymous
  • anonymous
oh ok thanks
ybarrap
  • ybarrap
Is that it?
anonymous
  • anonymous
yes the rest seems pretty straight forward right?
ybarrap
  • ybarrap
It does if you understand pivots, free variables, particular solutions, the null space, rank etc, and of course Matlab
anonymous
  • anonymous
ok its just that im new to this and struggle quite a bit
ybarrap
  • ybarrap
Have you taken a Linear Algebra class where you studied column spaces and free variables, where n > m ?
anonymous
  • anonymous
yes i did
ybarrap
  • ybarrap
then 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
  • ybarrap
I use Octave now -- open source Matlab
anonymous
  • anonymous
oh ok i will thanks a lot for your help!!
ybarrap
  • ybarrap
You're welcome. Good luck my friend!
anonymous
  • anonymous
loved matlab. But i moved on to c++ tho. SOrry :(

Looking for something else?

Not the answer you are looking for? Search for more explanations.