Community Profile

photo

Joy Shen


Last seen: 3 mois il y a Actif depuis 2021

Followers: 0   Following: 0

Statistiques

  • Thankful Level 3

Afficher les badges

Feeds

Afficher par

Question


How to add a third condition without making the function 3D
I have three indices I want to iterate through and each have their own conditions and functions. However, my end result will be ...

7 mois il y a | 1 réponse | 0

0

réponse

Question


If statements vs conditions
Hi all, I'm trying to set conditions to define some later operations. I'm essentially simulating Esim4 which can be a value fr...

8 mois il y a | 2 réponses | 0

2

réponses

Question


Missing counts during histcount?
Hi, I am randomly generating Nsim=10000 values and then binning them with histcounts but there seems to be missing values and I'...

8 mois il y a | 1 réponse | 0

1

réponse

Question


How to replace values within for loop?
Hi all, I'm randomly generating Fsim by indexing through each bin a and c, which are defined by ExtSurgeBinEdges. I want to i...

8 mois il y a | 1 réponse | 0

1

réponse

Question


How to manipulate colors in plot for array?
If you run this code, you'll see that I have four curves. I want to make the Ds_1 curves the same color, and the Ds_2 curves a d...

9 mois il y a | 2 réponses | 0

2

réponses

Question


Getting different values when I run for loop twice
Hi, I'm having a peculiar problem. My lam variable only generates correctly if I run the code twice. I need a 3x3 matrix of calc...

10 mois il y a | 1 réponse | 0

1

réponse

Question


How to select multiple contain conditions in a table?
Hi, I'm basically trying to filter my results to remove irrelevant rows based on two string conditions. I've attached the xslx f...

10 mois il y a | 1 réponse | 0

1

réponse

Question


mustBeInRange with multiple conditions
Hi all, I need to ensure a value is within a range. I understand there's a function called mustBeInRange, but I need to check f...

12 mois il y a | 1 réponse | 0

1

réponse

Question


Only the last value are being stored in for loop
Hi all, I just need to have a and c store array of numbers rather than store the last number. I need to sample from [a,c] and a...

environ un an il y a | 1 réponse | 0

1

réponse

Question


How to read a website and download pdf files
Is there a way in matlab to essentially batch read a website and download the pdfs without having the specific pdf url? For exa...

environ un an il y a | 2 réponses | 0

2

réponses

Question


How to iterate an if statement condition and store values in separate columns
I'm trying to calculate Esim for different boundary conditions on Fsim. The first being if Fsim is less than n_ins, the second i...

environ un an il y a | 1 réponse | 0

1

réponse

Question


Histcounts not giving me the same answers as my histogram
Hi all, I plotted a histogram, and normalized it as a probability. I wanted to get those probabilities through code instead of l...

environ 2 ans il y a | 1 réponse | 0

1

réponse

Question


How to compare two arrays and logically replace elements to satisfy my condition
I have two arrays that are physically related. I want to compare it column by column (ie. column 1 from array 1 compared to colu...

environ 2 ans il y a | 1 réponse | 0

1

réponse

Question


How to find the area under part of the histogram
Hi, I'm trying to find the area under part of a histogram? I'm aware that this gives me the total area under the histogram: are...

environ 2 ans il y a | 1 réponse | 0

1

réponse

Question


Converting datenums to get time durations
I need the time durations that the component is in operation, above a certain height. The time is in 24 hour time. So essential...

plus de 2 ans il y a | 1 réponse | 0

1

réponse

Question


Iterate and convert datenums to date times, and find time durations
I have a matrix with wave heights (feet) that change over time. The time is a datenum in the form of yyyymmddHHMM. I need to fi...

plus de 2 ans il y a | 1 réponse | 0

1

réponse