photo

Frank_m


Active since 2015

Followers: 0   Following: 0

Message

Statistics

MATLAB Answers

3 Questions
0 Answers

RANK
35 765
of 300 392

REPUTATION
1

CONTRIBUTIONS
3 Questions
0 Answers

ANSWER ACCEPTANCE
100.0%

VOTES RECEIVED
1

RANK
 of 20 934

REPUTATION
N/A

AVERAGE RATING
0.00

CONTRIBUTIONS
0 Files

DOWNLOADS
0

ALL TIME DOWNLOADS
0

RANK

of 168 373

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 1

View badges

Feeds

View by

Question


How to change the case to a string so when I run the script the the string instead of the case number is shown?
m=menu('select shape:', 'triangle','square','pentagon','hexagon','heptagon','octagon') switch m case 1 n...

mer än 10 år ago | 2 answers | 0

2

answers

Question


Can someone tell me what I'm doing wrong. I have looked over this for quite a while already with no success. I think I am messing up when it comes to element by element operation, but I have tried everything I know with no luck.
%this script will plot a 3-D plot of P(v) as a function of v and T M=0.032; R=8.31; x=[0:1000]; y=[70:320]; [X,...

mer än 10 år ago | 1 answer | 1

1

answer

Question


I am trying to create two vectors out of one,x, where one will contain all the positive elements and the other all the negative elements.
%this program creates vectors N and P out of x %N will contain negative elements and P the positive elements x=[-3.5 -5 ...

mer än 10 år ago | 2 answers | 0

2

answers