photo

JongMyung


Last seen: 2 years ago Active since 2023

Followers: 0   Following: 0

Statistics

MATLAB Answers

2 Questions
0 Answers

RANK
186,666
of 300,678

REPUTATION
0

CONTRIBUTIONS
2 Questions
0 Answers

ANSWER ACCEPTANCE
100.0%

VOTES RECEIVED
0

RANK
 of 21,039

REPUTATION
N/A

AVERAGE RATING
0.00

CONTRIBUTIONS
0 Files

DOWNLOADS
0

ALL TIME DOWNLOADS
0

RANK

of 170,111

CONTRIBUTIONS
0 Problems
0 Solutions

SCORE
0

NUMBER OF BADGES
0

CONTRIBUTIONS
0 Posts

CONTRIBUTIONS
0 Public Channels

AVERAGE RATING

CONTRIBUTIONS
0 Highlights

AVERAGE NO. OF LIKES

  • Thankful Level 2

View badges

Feeds

View by

Question


I wanna implement this function, but it says there is an syntax error..
function y=myfunc(x) y=(x<0).*(2*exp(x)+(0<=x&x<1).*2+(1<=x&x<3).*(x^2-4*x+5)+(3<=x).*(1+cos(x-3)); endfunction

2 years ago | 1 answer | 0

1

answer

Question


I want to draw a mesh surface. But when I use that code to draw it, YZ line is disappeared...
x=[1 2 3]; y=[1 2 3 4]; [X,Y]=meshgrid(x,y); Z=Y; plot3(X,Y,Z)

2 years ago | 1 answer | 0

1

answer