Plotting cone and hyperbola

16 ビュー (過去 30 日間)
Angira Mahida
Angira Mahida 2021 年 6 月 2 日
編集済み: Angira Mahida 2021 年 6 月 12 日
I have the equation of hyperbola from the fitted data. I wants to plot that hyperbola with cone to visualise actual emission processes.
Y = 7.46/(x+5.10) -0.86 is the hyperbola fit equation.
Is it possible to plot 3D image of this hyperbola inside a cone?
Your help is appreciated.

回答 (1 件)

darova
darova 2021 年 6 月 5 日
Here is an example
[T,R] = meshgrid(linspace(0,2*pi,20),0:5);
[X,Y] = pol2cart(T,R);
Z = R;
% Y = 7.46/(x+5.10) -0.86 is the hyperbola fit equation.
Z1 = 7./(R+5);
surf(X,Y,Z)
surface(X,Y,Z1)
  9 件のコメント
darova
darova 2021 年 6 月 9 日
Doesn't look like cone crossection
x = -5:.2:5;
y = 7.46./(x+5.10) -0.86;
plot(x,y)
Angira Mahida
Angira Mahida 2021 年 6 月 12 日
編集済み: Angira Mahida 2021 年 6 月 12 日
How can we fit a hyperbola in a given data?
That is not in the list of given fit equations in cftool.
also Could this be rectangular hyperbola?

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

カテゴリ

Help Center および File ExchangeSurface and Mesh Plots についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by