![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/8661901_1525373148900_DEF.jpg)
Mathias Andersen
Followers: 0 Following: 0
Statistics
RANK
4,045
of 293,515
REPUTATION
12
CONTRIBUTIONS
1 Question
5 Answers
ANSWER ACCEPTANCE
100.0%
VOTES RECEIVED
2
RANK
of 20,038
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 148,733
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
Feeds
Hi, I'm new to matlab and wanted to find the mean of all the values in my matrix/data set and was wondering how I would do this?
See the documentation for the mean command here So if you want the mean of an entire matrix write the following mean(a,'all')
4 years ago | 0
| accepted
Error using sym/subsref
Double(S) will produce a matrix with the solutions. S.m is not a variable stated anywhere in the script
4 years ago | 1
How do I calculate velocity with v= v0+a*t for loop?
You need to use : instead of ; in the for loop values, and V(i) = Ve(i)
4 years ago | 1
Limit the x values that are shown in the histogram
xlim([64 100]) or change the numbers to whatever bounds you want to have.
4 years ago | 0
| accepted
I only have the mean value and standard deviation value, how do I make a histogram with this?
This should do the trick. x = 7.79*randn(150,1)-30.1; histogram(x,'Normalization','pdf')
4 years ago | 0
Question
Expand matrix pattern by rows only
I want to expand the following pattern 365 times. Have tried the repmat command, however this will produce 365 columns as well w...
4 years ago | 1 answer | 0