photo

Macy


Last seen: mer än ett år ago Active since 2023

Followers: 0   Following: 0

Statistics

  • Thankful Level 4

View badges

Feeds

View by

Question


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

mer än ett år ago | 1 answer | 0

1

answer

Question


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

mer än ett år ago | 2 answers | 0

2

answers

Question


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

mer än ett år ago | 1 answer | 0

1

answer

Question


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

mer än ett år ago | 1 answer | 0

1

answer

Question


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

mer än ett år ago | 1 answer | 0

1

answer

Question


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

nästan 2 år ago | 2 answers | 0

2

answers

Question


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

nästan 2 år ago | 1 answer | 0

1

answer

Question


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

nästan 2 år ago | 2 answers | 0

2

answers

Question


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

nästan 2 år ago | 1 answer | 0

1

answer

Question


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

nästan 2 år ago | 1 answer | 0

1

answer

Question


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

nästan 2 år ago | 1 answer | 0

1

answer

Question


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

nästan 2 år ago | 1 answer | 0

1

answer

Question


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

nästan 2 år ago | 1 answer | 0

1

answer

Question


Is there a function to determine the non-exceedance probability of each value in the table?
Table = readtable("practice3.xlsx"); x = Table.values

nästan 2 år ago | 2 answers | 0

2

answers

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

nästan 2 år ago | 0

Question


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

nästan 2 år ago | 1 answer | 0

1

answer

Question


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

nästan 2 år ago | 3 answers | 0

3

answers

Question


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

nästan 2 år ago | 2 answers | 0

2

answers

Question


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

nästan 2 år ago | 2 answers | 0

2

answers

Question


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

nästan 2 år ago | 2 answers | 0

2

answers

Question


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

nästan 2 år ago | 2 answers | 0

2

answers

Question


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

nästan 2 år ago | 1 answer | 0

1

answer

Question


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

nästan 2 år ago | 1 answer | 0

1

answer

Question


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"];...

nästan 2 år ago | 1 answer | 0

1

answer

Question


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

nästan 2 år ago | 1 answer | 0

1

answer