photo

Peter


Last seen: 1 year ago Active since 2024

Followers: 0   Following: 0

Statistics

MATLAB Answers

3 Questions
0 Answers

RANK
287,971
of 300,771

REPUTATION
0

CONTRIBUTIONS
3 Questions
0 Answers

ANSWER ACCEPTANCE
100.0%

VOTES RECEIVED
0

RANK
 of 21,084

REPUTATION
N/A

AVERAGE RATING
0.00

CONTRIBUTIONS
0 Files

DOWNLOADS
0

ALL TIME DOWNLOADS
0

RANK

of 170,969

CONTRIBUTIONS
0 Problems
0 Solutions

SCORE
0

NUMBER OF BADGES
0

CONTRIBUTIONS
0 Posts

CONTRIBUTIONS
0 Public Channels

AVERAGE RATING

CONTRIBUTIONS
0 Discussions

AVERAGE NO. OF LIKES

  • Thankful Level 2

View badges

Feeds

View by

Question


This statement is not inside any function.
function sumVector = computeSum(vector) sumVector = 0; for i = 1:length(vector) sumVector = sumVector + vector(i); end ...

1 year ago | 1 answer | 0

1

answer

Question


File: myFact.m Line: 11 Column: 1. This statement is not inside any function.
function result = myFact(n) if n == 0 result = 1; else result = 1; for i = 1:n result = result * i; ...

1 year ago | 1 answer | 0

1

answer

Question


Error using surf Z must be a matrix, not a scalar or vector.
I was trying to plot using the following code but i get this error. Please help me. Thank you! x=(0:0.1:pi); y=(0:0.1:pi); [X...

2 years ago | 2 answers | 0

2

answers