亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

如何創建 4D 復雜曲面圖?

如何創建 4D 復雜曲面圖?

SMILET 2023-04-11 15:39:18
我有以下 Matlab 代碼,我想將其轉換為 Python 3 代碼。r = (0:1:15)';                           % create a matrix of complex inputstheta = pi*(-2:0.05:2);z = r*exp(1i*theta);%w = z.^(1/2)  ;                          % calculate the complex outputsw = sqrt(r)*exp(1i*theta/2);figure('Name','Graphique complexe','units','normalized','outerposition',[ 0.08 0.1 0.8 0.55]);subplot(121)surf(real(z),imag(z),real(w),imag(w))    % visualize the complex function using surfxlabel('Real(z)')ylabel('Imag(z)')zlabel('Real(u)')cb = colorbar;colormap jet;                            % gradient from blue to redcb.Label.String = 'Imag(v)';subplot(122)surf(real(z),imag(z),imag(w),real(w))    % visualize the complex function using surfxlabel('Real(z)')ylabel('Imag(z)')zlabel('Imag(v)')cb = colorbar;colormap jet;                            % gradient from blue to redcb.Label.String = 'Real(u)';可以在此處找到結果和原始討論。此SO 頁面上還有可用的討論。但是,我未能運行和重現這些代碼。接下來我可以嘗試什么?
查看完整描述

目前暫無任何回答

  • 0 回答
  • 0 關注
  • 129 瀏覽
慕課專欄
更多

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號