how i plot the graph of my solution ?

1 回表示 (過去 30 日間)
Ian Samuelsson
Ian Samuelsson 2021 年 6 月 6 日
回答済み: Ian Samuelsson 2021 年 6 月 8 日
  1 件のコメント
Sulaymon Eshkabilov
Sulaymon Eshkabilov 2021 年 6 月 7 日
Can you show what you have done so far?

サインインしてコメントする。

回答 (1 件)

Ian Samuelsson
Ian Samuelsson 2021 年 6 月 8 日
i think is done, the only problem is my quiver.
clear; clc;
k = 0.04;
M = 5;
syms t T
f(t,T) = log( abs( (T-M) ./ (T+M) ) ) - 2*atan( T/M ) - 4*M^3*k*t
g = matlabFunction(f)
tnum = linspace(0,5,1000);
Tnum = linspace(-5,2,1000);
[tt,TT] = meshgrid(tnum,Tnum);
zz = g(tt,TT);
contour(tt,TT,zz,"ShowText","on")
colormap jet
colorbar
title("T(t) para vários c")
xlabel('t'); ylabel('T(t)')
quiver(t,T);
[t,T] = meshgrid(-10:.1:10,-10:.1:10-10:.1:10);
quiver(t,T); %<------- i dunno why dont work
grid on;

カテゴリ

Help Center および File ExchangeRed についてさらに検索

製品


リリース

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by