Community Profile

photo

Mathias Andersen


Last seen: mehr als 3 Jahre vor Aktiv seit 2020

Followers: 0   Following: 0

Statistiken

  • Knowledgeable Level 1
  • First Answer
  • Thankful Level 1

Abzeichen anzeigen

Feeds

Anzeigen nach

Beantwortet
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')

fast 4 Jahre vor | 0

| akzeptiert

Beantwortet
Error using sym/subsref
Double(S) will produce a matrix with the solutions. S.m is not a variable stated anywhere in the script

fast 4 Jahre vor | 1

Beantwortet
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)

fast 4 Jahre vor | 1

Beantwortet
Limit the x values that are shown in the histogram
xlim([64 100]) or change the numbers to whatever bounds you want to have.

fast 4 Jahre vor | 0

| akzeptiert

Beantwortet
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')

fast 4 Jahre vor | 0

Frage


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...

fast 4 Jahre vor | 1 Antwort | 0

1

Antwort