您現在的位置是:首頁 > 武術

Matlab 三維圖製作教程

  • 由 LearningYard學苑 發表于 武術
  • 2022-04-07
簡介plot3(sin(t),cos(t),t)represents the three-dimensional commandxlabel('sin(t)')ylabel('cos(t)')zlabel

傷害英語發音是什麼

Matlab 三維圖製作教程

Matlab 3D drawing tutorial

分享興趣,傳播快樂,

增長見聞,留下美好!

親愛的您,這裡是LearningYard學苑。

今天小編為大家帶來Matlab三維圖製作教程,

一起來看看吧!

Share interest, spread happiness,

increase knowledge, and stay beautiful!

Dear you, this is LearningYard Academy。

Today, the editor brings you the Matlab 3D drawing tutorial,

let’s take a look!

Matlab 三維圖製作教程

普通三維圖製作

Ordinary 3D drawing production

進行設定

t=0:pi/66:16*pi;

plot3(sin(t),cos(t),t)

表示三維立體指令

Set up

t=0:pi/66:16*pi;

plot3(sin(t),cos(t),t)

represents the three-dimensional command

Matlab 三維圖製作教程

xlabel('sin(t)')

ylabel('cos(t)')

zlabel('t')

表示設定各項標籤

grid on

表示在圖後面生成網格線

xlabel('sin(t)')

ylabel('cos(t)')

zlabel('t')

means to set various labels

grid on

means to generate grid lines behind the graph

Matlab 三維圖製作教程

axis square

起到美化限制作用,顯得更加立體

axis square

Play a beautifying and restrictive role, appear more three-dimensional

Matlab 三維圖製作教程

雙峰函式繪圖製作

Drawing of bimodal function

Matlab還可以製作出很多奇妙的圖形,這裡再帶大家學習一下雙峰函式繪圖的製作。

Matlab can also produce a lot of wonderful graphics, here we will take you to learn about the production of bimodal function drawing。

進行設定

[x,y,z]=peaks(45);

mesh(x,y,z)

grid

Set up

[x,y,z]=peaks(45);

mesh(x,y,z)

grid

Matlab 三維圖製作教程

本期的分享就到這裡,

如果您對今天的文章有獨特的想法,

歡迎給我們留言,讓我們相約明天,

祝您今天過得開心快樂!

This issue of sharing is here。

If you have a unique idea about today’s article, please leave us a message,

let us meet tomorrow, and wish you a happy day today!

Top