Sara Renmiu
Followers: 0 Following: 0
Feeds
提问
HI, I wanted to create a new function that plots a scatterplot of 2 columns of data and saves the Figure in a jpg. I was unable to do this using my code and wanted to know why, and what would work. format
%I created some data for my scatterplots Data = randi(10, [20,2]) %then I tried to make a function function[X,Y] = Scatter...
4 years 前 | 1 个回答 | 0
1
个回答提问
Hi I'm new to Matlab and was trying to plot a graph of 2^n but havn't been able to.
.
4 years 前 | 1 个回答 | 0
1
个回答提问
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?
This mean(a(:)) has been suggested but it has not worked for me.
4 years 前 | 1 个回答 | 0
1
个回答提问
I attempted to add all whole numbers 1 to 100 by using a loop and displaying the result, but it did not work. I was wondering why it didn't work and what would work instead/ how to improve my code?
i = 1 For i <=100 i = disp (i+1) end
4 years 前 | 1 个回答 | 0
1
个回答提问
Hi, I have a three questions about loops. The question I attempted was 'Create normal random data for 10 rows and 5 columns. Compute the means and standard deviations of each row by using a loop. Display the results for each row.'
The answer is Create normal random data for 10 rows and 5 columns. Compute the means and standard deviations of each row by ...
4 years 前 | 1 个回答 | 0