Multivariable functions involving trig and hyperbolics

Im very new to matlab and struggling a bit.
I am looking to plot the function sinxsinhy = 1 but keep recieving errors due to matrix sizes. Does anyone have any ideas?
Thank you very much

1 commentaire

What have you tried? It is far easier to provide help if we see where you are going, rather than writing complete code for you form scratch. Lacking that, I recommend that you learn about the .* operator, andwhy it can be important. Alternatively, you might look at fimplicit, which can do what you want in one line. Ok, two lines, if you include the call to syms.

Connectez-vous pour commenter.

Réponses (1)

syms x y
ezsurf(sin(x)*sinh(y)-1) %3d
%or
ezplot(sin(x)*sinh(y)-1) %2d

Produits

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by