How to make a Riemann surface plot of simple analytic functions ?

조회 수: 40 (최근 30일)
Ole
Ole 2017년 9월 28일
편집: Ole 2017년 9월 29일
How to make a riemann surface plot of simple analytic functions ? The code below does not give the correct plots.
clear all; close all; clc;
x = linspace(-2,2,100);
y = linspace(-2,2,100);
[X, Y] = meshgrid(x,y);
z = X + 1i*Y;
f = sin(z); %log(z) %sqrt(z)
figure
p = surfc(real(z),imag(z),angle(f));
%p = surfc(real(z),imag(z),cos(X).*sinh(Y));
set(p,'EdgeColor','none');
view(3), axis equal
Also the following does not give the branches.
z = cplxgrid(30);
cplxmap(z,sin(z))
Sin(z) should look like sin(z)

답변 (0개)

카테고리

Help CenterFile Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by