Unable to plot implicit function in MATLAB 2016a

2 ビュー (過去 30 日間)
Maruti Patil
Maruti Patil 2017 年 6 月 2 日
回答済み: Star Strider 2017 年 6 月 2 日
clc;clear all;close all
syms b P
phi0=asin(1.5/b);
f = -(2*P*1.35/(1.5^2*1.1538*10^5))+...
((pi-2*phi0)/(4*sin(phi0)*sin(phi0)))-0.5*cot(phi0);
ezplot(f); grid on

採用された回答

Star Strider
Star Strider 2017 年 6 月 2 日
You need to make a few changes for this to work:
syms b P
phi0(b) = asin(1.5/b);
P = 2;
f(b) = -(2*P*1.35/(1.5^2*1.1538*10^5))+...
((pi-2*phi0(b))/(4*sin(phi0(b))*sin(phi0(b))))-0.5*cot(phi0(b));
ezplot(f(b), [-15 15]);
grid

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSymbolic Math Toolbox についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by