日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 人工智能 > 循环神经网络 >内容正文

循环神经网络

matlab漂亮图表,漂亮,美观的图表之Matlab强势回归~~~~走你8

發布時間:2023/12/10 循环神经网络 39 豆豆
生活随笔 收集整理的這篇文章主要介紹了 matlab漂亮图表,漂亮,美观的图表之Matlab强势回归~~~~走你8 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

今天來畫3D plot

% Load the data

load latticeExample

xx = x(:);yy = y(:);zz = z(:);

% locate the non-zero points

a = find(T~=0);

% plot the non-zero points using a scatter plot

% use the values of T to represent both color and size of symbols

scatter3(xx(a),yy(a),zz(a),1000*T(a),T(a),'filled');

% set the view

view(3);

接下來STREAM SLICE;

%% Generate the data

% define the grid

x_lim=.8; y_lim=.8; z_lim=.8; step=.01;

x=[-x_lim:step:x_lim]; y=[-y_lim:step:y_lim]; z=[-z_lim:step:z_lim];

[x y z]=meshgrid(x,y,z);r=sqrt(x.^2+y.^2+z.^2);

%generate the data

cos_theta=z./r; sin_theta=sqrt(1-(cos_theta).^2); % These are the angles made by the x,y,z axes

cos_phi=x./sqrt(x.^2+y.^2); sin_phi=y./sqrt(x.^2+y.^2);

V_dip_ang=cos_theta; %only the angular dependence of the radiation pattern is considered

theta_hat_x=cos_theta.*cos_phi; theta_hat_y=cos_theta.*sin_phi; theta_hat_z=-sin_theta; % theta_hat direction resolved in x,y, and z directions

r_hat_x=sin_theta.*cos_phi; r_hat_y=sin_theta.*sin_phi; r_hat_z=cos_theta; %r_hat direction resolved in x,y, and z directions

E_ang_x=2*cos_theta.*r_hat_x + sin_theta.*theta_hat_x; %x component of the electric field (only the angular pattern)

E_ang_y=2*cos_theta.*r_hat_y + sin_theta.*theta_hat_y; %y component of the electric field

E_ang_z=2*cos_theta.*r_hat_z + sin_theta.*theta_hat_z; %z component of the electric field

E_ang=sqrt(E_ang_x.^2+E_ang_y.^2+E_ang_z.^2); % The magnitude of the electric field

%% Plotting the absolute value of the potential and the magnitude of the electric field distribution on a spehere

% plot the data

streamslice(x,y,z,E_ang_x,E_ang_y,E_ang_z,[-.3 .1],[],[]); % This is used for vector data

% set the view

campos([-3,-15,5])

box on

% set the background and tick colors

set(gca,'Color',[.8,.8,.8],'XColor','black', ...

'YColor','black','ZColor','black')

%annotate

title({'Visualizing the electric field pattern of a ',...

'dipole antenna using \color{red}streamslice'},'Fontsize',14)

今天時間有點緊,,就先這些吧。。

總結

以上是生活随笔為你收集整理的matlab漂亮图表,漂亮,美观的图表之Matlab强势回归~~~~走你8的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。