I have problems with right division. How could I solve: 1.5a - 2b + c + 3d = 7.5 3a + b - c + 4d = 16 2a + 6b - 3c - d = 78 5a + 2b + 4c - 2d = 71 I know how to solve it using left division but don't know how to solve it using right one. Very appreciated the tip for using linsolve()! My professor says to not focus on the best-built in function for optimization, but I don't see a problem to show this things to beginners like me. That way I can know better practices for the future. Anyways, that's my question. Thanks and great video!
Thanks for the tip. Also linsolve can be even faster than A\b as shown here: www.mathworks.com/help/matlab/ref/linsolve.html I'll add both to the video description.
@@songshub7931 Here is a 1D lookup table in MATLAB: www.mathworks.com/help/simulink/slref/fixpt_interp1.html Search engines will help you find examples.
@@apm ohkk thanx..can i connect with you for my project...i have to submit it in 2 weeks...i will be thankful to you if u will help me..ill share your channel on al my scial media.
@@songshub7931 feel free to keep asking questions here in the comments. I generally don't have time to help with specifics of all the requests I receive each week but I'm glad to point to resources.
Uncertainty is typically associated with regression, not linear programming. Here is help on regression uncertainty: apmonitor.com/che263/index.php/Main/PythonRegressionStatistics
Yes, any number of equations (up to millions) can be solved with these methods. Here is more information: (Python) apmonitor.com/che263/index.php/Main/PythonSolveEquations and (MATLAB) apmonitor.com/che263/index.php/Main/MatlabSolveEquations
Apply Kirchoff’s Laws for the following circuit and find expressions for currents i1 and i2 as linear equations and solve these equations by using matrices in wxMaxima hence find i1 and i2, where e1 & e2 are (Hint: See Model-1 of skill examples) voltages and R1,R2, R3 are resistors given as e1=240 volts, e2 =210 volts R1=17.5 ohms R2=5.5ohms R3=10.5 ohms Bro please do it bro give the anser as replie
@@mohan6621 , unfortunately, I don't have time to solve it for you. Here is some help online: www.electronics-tutorials.ws/dccircuits/kirchhoffs-current-law.html
can i have your email? I have lot of question about solve a matrix in matlab😔 i have to make a calculator of matrix for my final exam, please somebody help...
Unfortunately, I can't help with the many individual requests I receive each week. Most online forums also don't help with specifics of exam questions. Here are online resources that may help you: apmonitor.com/che263 Good luck on your exam!
The linsolve function can solve linear systems with complex numbers. Try the following as an example: A = [1, 1-i; 2, 3]; b = [1i;2]; x = linsolve(A,b) Result: x = -0.8000 + 0.6000i 1.2000 - 0.4000i
you can certainly have a zero right hand side. Just set the B vector to a column of zeros at 2:00 in the video. One easy way to create this vector is with the numpy.zeros function.
You just saved me 20 points on an exam LOL, god bless
Glad I could help!
8 years later & still awesome!
Even 5 years later this was helpful for school, thank you good sir
May God reward you for all your efforts and all the valuable information that you provide us smoothly .
I have problems with right division. How could I solve:
1.5a - 2b + c + 3d = 7.5
3a + b - c + 4d = 16
2a + 6b - 3c - d = 78
5a + 2b + 4c - 2d = 71
I know how to solve it using left division but don't know how to solve it using right one. Very appreciated the tip for using linsolve()! My professor says to not focus on the best-built in function for optimization, but I don't see a problem to show this things to beginners like me. That way I can know better practices for the future. Anyways, that's my question.
Thanks and great video!
Does this help? stackoverflow.com/questions/1007442/mrdivide-function-in-matlab-what-is-it-doing-and-how-can-i-do-it-in-python
god bless you, i was having trouble finding how to solve a matrix with variables
You can just use \ instead of multiplying by -1. The syntax is x=A\b; it is a more robust tool
Thanks for the tip. Also linsolve can be even faster than A\b as shown here: www.mathworks.com/help/matlab/ref/linsolve.html I'll add both to the video description.
This video helps me a lot! Thank you so much!
Thank you for this wonderful and simple explanation
how do you solve when there is X1 X2 X3
hey can you tell me what might be code for a look up table in matlab
Here is some documentation on lookup tables: www.mathworks.com/help/simulink/lookup-tables.html
@@apm i meant the code.
I think it's the link for working in Simulink!
@@songshub7931 Here is a 1D lookup table in MATLAB: www.mathworks.com/help/simulink/slref/fixpt_interp1.html Search engines will help you find examples.
@@apm ohkk thanx..can i connect with you for my project...i have to submit it in 2 weeks...i will be thankful to you if u will help me..ill share your channel on al my scial media.
@@songshub7931 feel free to keep asking questions here in the comments. I generally don't have time to help with specifics of all the requests I receive each week but I'm glad to point to resources.
thanks, it was really helpful
How do you do this if your numbers are not integers
It is the same method. Both integers and those with decimals work equally well.
Let's consider the last example shown in this video, is it possible to calculate the uncertainty (accuracy) of Z if we find its value. Please help!
Uncertainty is typically associated with regression, not linear programming. Here is help on regression uncertainty: apmonitor.com/che263/index.php/Main/PythonRegressionStatistics
Can we solve 4 equation using same method?
Yes, any number of equations (up to millions) can be solved with these methods. Here is more information: (Python) apmonitor.com/che263/index.php/Main/PythonSolveEquations and (MATLAB) apmonitor.com/che263/index.php/Main/MatlabSolveEquations
Can you tell how to do this with parameters? (a*x + b*y style)
How do I tell matlab wich one is the variable and wich one is the constant?
+Gaál Dániel, Here is source code that you can adapt for your problem: apmonitor.com/che263/index.php/Main/MatlabDataRegression
Is matlab able to do stochastic calculus using syms?
I'm not sure. Let us know if you find a solution.
Apply Kirchoff’s Laws for the following circuit and find expressions for currents i1 and i2 as linear equations and solve these equations by using matrices in wxMaxima hence find i1 and i2, where e1 & e2 are (Hint: See Model-1 of skill examples)
voltages and R1,R2, R3 are resistors given as e1=240 volts, e2 =210 volts R1=17.5 ohms R2=5.5ohms R3=10.5 ohms
Bro please do it bro give the anser as replie
@@mohan6621 , unfortunately, I don't have time to solve it for you. Here is some help online: www.electronics-tutorials.ws/dccircuits/kirchhoffs-current-law.html
hi i need to connect the code of every method with button in interface some one can help me please is my project pf my defense
Try the uibutton: www.mathworks.com/help/matlab/ref/uibutton.html
est ce que vous pouver m'expliquer la methode de simplexe pour resoudre une equation linéaire
Thanks buddy 😙😙😙
very nice , thank you
good for first time thank u sir.
Thank you so much sir
The mic-quality isnt on top, but otherwise: Great video!
Event Horizon, I just switched to a high quality mic. Hopefully future videos have more clarity of sound.
can i have your email? I have lot of question about solve a matrix in matlab😔 i have to make a calculator of matrix for my final exam, please somebody help...
Unfortunately, I can't help with the many individual requests I receive each week. Most online forums also don't help with specifics of exam questions. Here are online resources that may help you: apmonitor.com/che263 Good luck on your exam!
I have a final exam in MATLAB on Saturday😥😥😥
I hope these videos can help you prepare. Good luck on your exam.
I love you. Thanks.
I'm glad that I have a fan. Share the love and the video link!
Thanks brother
Thanks so much 😌
thanks a lot man .
can we have complex values in the matrix??
The linsolve function can solve linear systems with complex numbers. Try the following as an example:
A = [1, 1-i; 2, 3];
b = [1i;2];
x = linsolve(A,b)
Result:
x =
-0.8000 + 0.6000i
1.2000 - 0.4000i
Thanks
What about a system that equals 0
you can certainly have a zero right hand side. Just set the B vector to a column of zeros at 2:00 in the video. One easy way to create this vector is with the numpy.zeros function.
Life saver
man , thx for this , but u REALLY NEED to buy a new MIC
That was one of my earlier videos where I used my computer microphone. I have a studio microphone now. Thanks for the suggestion.
صباح الخير