Question

Contour plot using three vectors

Hi. I want to make a contour plot using three vectors. The vectors "x" and "y" has the X and Y coordinates/positions. The vector...

6 jours ago | 2 answers | 0

Question

Collapse contour plots on a single plot

Hi. I have two 10 contour plots with some colorbar to represent intensities. I want to combine them all together on to a single ...

7 jours ago | 1 answer | 0

Question

Contour plot of concentration of chemical species

Hi. I am releasing a chemical species CHX (N units) in a chamber. The size of the chamber is 100 X 100 X 100 cms^3. I want to pl...

8 jours ago | 1 answer | 0

Question

Iterations on field conditions of a structure array

Hi. I am working with a structure array S (1 X 50,000) with 10 fields. I want to find few paramters based on few conditions. Is ...

environ un mois ago | 1 answer | 1

Question

No. of elements, mean and standard deviation of a field - conditions on other fields

Hi. I am working with a structure array S (1 X 50,000) with 10 fields. For example, Here is the input, S(1).f1=[10,70,30 40...

environ un mois ago | 1 answer | 0

Question

Mean and standard deviation of a field - condition on another field

Hi. I am working with a structure array S (1 X 50,000) with 10 fields. I want to calculate the mean and standard deviation of fi...

3 mois ago | 2 answers | 1

Question

Mean based on positive and negative values of a field

I have a structure S (10000 X 1) with 10 fields. I want to calculate (two) means and standard deviations of one particluar field...

3 mois ago | 1 answer | 1

Question

Minimum and maximum values of a field in a structure array

Hi. I have a strcuture array with 10 fields. How can, I find the minumum and maximum values of a particular field f1? I tried ui...

3 mois ago | 1 answer | 0

Question

How to combine two plots into one

I am using MATLAB R2018 b. I have two plots with same x but, the limits of y axes are different. Both plots has a line and some ...

3 mois ago | 1 answer | 1

Question

How to combine two histograms

I have two different histogram plots with same axes limits. I want to combine them such that, I can make comparison between two ...

3 mois ago | 1 answer | 0

Question

Expected one output from a curly brace or dot indexing expression, but there were 2 results.

Hi.I working with a code to manipulate some data and here are the lines which gives error S12(m).x2(n)=S2(tn4).x(ts4) % line 10...

3 mois ago | 1 answer | 0

Question

Modifying a structure array

Hi. I am working with a structure array, and I want to modify the structure based on a condition on the field entries. For exam...

3 mois ago | 2 answers | 0

Question

How to convert a structure array into vector

Hello. I have a structure array (1 x 50000) with 10 fields. The elements in the fields are arrays (1 x 50). I want to convert t...

3 mois ago | 2 answers | 0

Question

Delete empty field - rows in a structure

I have a structure which has some empty field - rows. How can, I delete these empty them from the structure?

4 mois ago | 3 answers | 0

Question

How to divide a structure into sub-structures based on a condition

Hello. I am new to MATLAB and expecting some help. I have a structure array (1 x 50,000) with 30 fields. I want to divide this ...

4 mois ago | 2 answers | 0