Macy
Followers: 0 Following: 0
Feeds
提问
How can I organize data into monthly means/averages across all years? And then plot it in a bar graph?
Hello, I would like to make a barplot of average monthly number of students, in other words the mean of the total students acros...
1 year 前 | 1 个回答 | 0
1
个回答提问
Simple question, how to read in a color band file?
Hi, I am very new to image manipulations and MatLab. How do I properly read in a color band into MatLab. For example, I have thr...
1 year 前 | 2 个回答 | 0
2
个回答提问
How to sharpen an image? Sharpening filter kernel.
Hello, the following is an example of a smoothing filter kernel. How can I make a sharpening filter kernel? smoothingfilter=[1/...
1 year 前 | 1 个回答 | 0
1
个回答提问
Linear contrast stretch to image?
Hi, I am very new to image manipulation and MatLab. I am asked to perform a linear contrast stretching on an image using the de...
1 year 前 | 1 个回答 | 0
1
个回答提问
How to get subset of data from given thresholds?
Please help, here is a snippet of code. There are three different thresholds that I have to make subsets of data for: 1)NZE > ...
1 year 前 | 1 个回答 | 0
1
个回答提问
How to apply the same style/color and axes labels to all subplots?
Hello, here is a snippet of code. The LineStyle, Color, Xlabel and Ylabel are the same for all four subplots. Is there a way to ...
1 year 前 | 2 个回答 | 0
2
个回答提问
How to condense this code for plotting cdfs? How to use a for loop to plot lines.
Hello, I am new to MatLab and have a lot of code that I would like to condese/make easier to plot. The following code makes one ...
1 year 前 | 1 个回答 | 0
1
个回答提问
How do I make an image of numbers using imagesc? Change values in the matrix?
Hello, I am new to MatLab and manipulating matrices. I have been instructed to make a 2-D matrix 700x400 of any non-zero numbe...
1 year 前 | 2 个回答 | 0
2
个回答提问
How to calculate R^2 using 1 - (SSR/SST)? For normal fit distribution.
Hello, I have used the fitlm function to find R^2 (see below), to see how good of a fit the normal distribution is to the actual...
2 years 前 | 1 个回答 | 0
1
个回答提问
CDF values are on a scale of 0 to 1, how to scale?
Hello, I made a normal fit distribution for some data called "actual_values". The plot came out fine. Now how do I display th...
2 years 前 | 1 个回答 | 0
1
个回答提问
How can I scale CDF normal distribution values to match actual data? Calculating R^2?
Hi everyone, How can I calculate R^2 for the actual data and the normal fit distribution? The problem I am having is my normal f...
2 years 前 | 1 个回答 | 0
1
个回答提问
How to plot empirical cdf and fitted distributions cdfs?
Hi, want to make one plot with the empirical CDF and three additional distributions CDFs (normal, lognormal, and weibull) to vis...
2 years 前 | 1 个回答 | 0
1
个回答提问
Ranking numbers in a table and manipulating by division.
I am trying to manually calculate non-exceedance probabilities of each value x. How can I rank the values in this table from sma...
2 years 前 | 1 个回答 | 0
1
个回答提问
Is there a function to determine the non-exceedance probability of each value in the table?
Table = readtable("practice3.xlsx"); x = Table.values
2 years 前 | 2 个回答 | 0
2
个回答已回答
How to make a simple plot with two lines?
@Paul thank you, this saved me a lot of time as I was trying to do it using a for loop.
How to make a simple plot with two lines?
@Paul thank you, this saved me a lot of time as I was trying to do it using a for loop.
2 years 前 | 0
提问
How do I make a simple table in MatLab? Skew function?
Hello. How can I make a table that displays the mean and median of "students" and "courses"? Also, is there a way to calculate ...
2 years 前 | 1 个回答 | 0
1
个回答提问
How to make a simple plot with two lines?
Hi. I am new to MatLab. I want to make a plot with two lines for 2001 and 2003 group of schoolyear vs students. (Please note, no...
2 years 前 | 3 个回答 | 0
3
个回答提问
How to make a line-plot? Time series
Hi there, simple question. This is a subset of a larger dataset. How do I make a lineplot of the schoolyear 2000 and 2002 "stude...
2 years 前 | 2 个回答 | 0
2
个回答提问
How do I sum the values of sections of a table?
Hi there. I have this data, for which I created a new vector called schoolyear. How do I sum the total number of students for ea...
2 years 前 | 2 个回答 | 0
2
个回答提问
How to use if/then to create a vector using values from a table.
Hi, I am new to MatLab and coding in general. Here, I wish to assign a "schoolyear" to each data point. If the table_a.month fal...
2 years 前 | 2 个回答 | 0
2
个回答提问
How to use if/then to assign a year to a set of dates?
I would like to add a new vector called "school_year" that assigns a year to each point. In this case, a school year will be con...
2 years 前 | 2 个回答 | 0
2
个回答提问
How do I input a table column of values into a formula?
Hello, I am new to MatLab. Here is some simple code I would greatly appreciate some help on. I am given an excel spreadsheet o...
2 years 前 | 1 个回答 | 0
1
个回答提问
How do I change a date in a cell into three cells in MatLab xlsx file?
I have an excel file that has a column of dates in an examples such as follows: 01-Oct-2022 How do I change it into three colum...
2 years 前 | 1 个回答 | 0
1
个回答提问
How do you save for loop plots to the correct directory?
%Hello, this is very simple code but I am completey new to MatLab. Help! points = [1:3] color = ["r", "g", "b", "m", "b"];...
2 years 前 | 1 个回答 | 0
1
个回答提问
How do I save for loop plots to a figure directory?
I am completely new to MatLab. I was intructed to create a string variable that contains the name of a directory I made (a folde...
2 years 前 | 1 个回答 | 0