Matlab Tutorial - 52 - Solving Systems of Algebraic Equations Symbolically

แชร์
ฝัง
  • เผยแพร่เมื่อ 2 ธ.ค. 2024

ความคิดเห็น • 14

  • @SebasTian-xx6yc
    @SebasTian-xx6yc 3 ปีที่แล้ว +14

    for everyone who are getting the errors, we dont need to put the apostrophes anymore so instead of solve('eqn',x) its solve(eqn,x)
    hope this helps

  • @NURULISLAM-bq7br
    @NURULISLAM-bq7br ปีที่แล้ว

    I watched almost all the videos of this playlist. It helped me a lot. Thanks a lot sir

  • @jaroslavgrigorin7597
    @jaroslavgrigorin7597 3 ปีที่แล้ว

    If you want to get result with constant c, just define it as a variable (syms x y c) but solve only for x and y.

  • @mrx3449
    @mrx3449 5 ปีที่แล้ว +4

    I have an issue with matlab 2018 line 226 and line 418. Do you know what's wrong?

    • @ryanward8117
      @ryanward8117 4 ปีที่แล้ว +9

      with the new version the correct way would be the expression
      [x y] = solve(3*x-y == 2 , x + y== 1 , x , y)
      th quotes are removed and it has to be told what it is solving for

    • @yangchengzhang7188
      @yangchengzhang7188 ปีที่แล้ว

      @@ryanward8117 it helped, thank you very much!

  • @demisbooo743
    @demisbooo743 2 ปีที่แล้ว +1

    Great! Thanks a lot!

  • @aurangzeb7848
    @aurangzeb7848 ปีที่แล้ว

    @all, I am facing error while solving system of quadratic equations symbolically. Following the example in this video, I tried this one
    >> [x,y,z]=solve('c*x-2y=1','2*y-cz=2','c*z-x+y=3')
    But I got the Error message like,
    ??? Error using ==> solve at 77
    ' c*x-2y=1 ' is not a valid expression or equation.
    I want to know what is wrong with this...
    Thank you in advance.

  • @renanlarrieu
    @renanlarrieu 3 ปีที่แล้ว

    I believe the command "pretty" just does not do what it should...

  • @zynxajeaesthetics6067
    @zynxajeaesthetics6067 4 ปีที่แล้ว

    thanks alot bro

  • @able5857
    @able5857 5 ปีที่แล้ว

    Thanks man!!

  • @JagjitSingh-vz7hj
    @JagjitSingh-vz7hj 2 ปีที่แล้ว

    what about z value

  • @rahmaniyousra2291
    @rahmaniyousra2291 2 ปีที่แล้ว

    Both below solutions are not working. Can someone help please:
    solution=(3*x-y==2,x+y==1)
    solution=(3*x-y==2,x+y==1,x,y)