Question

Sub-plots properties

Hi. I have 4 MATLAB figures, using them as sub-plots I want to create a new figure. These 4 figures have a larger marker size an...

12 días ago | 2 answers | 0

Question

Multiplication of two fields in a structure array

Hi. I want to perform element wise multiplication of two fields in a struture array. The size of the fields is same throughout f...

alrededor de 1 mes ago | 1 answer | 0

Question

Draw horizontal lines using for loop on set of images

Hi. I have around 5000 images in a folder, the names of the images are Combined_1, Combined_2, .... Combined_5000. I want to dra...

2 meses ago | 2 answers | 0

Question

Animation of a translating and rotating rod

Hi. I want to create an animation plot of a rod moving in 3D space. I have a structure array "data" which contains (X,Y,Z) centr...

3 meses ago | 0 answers | 0

Question

Delete end points from columns in a structure array

Hello. I have a structure array S (1 x 50000) with 10 fields. The elements in the fields are column matrices (1 X M) with their...

3 meses ago | 2 answers | 0

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

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

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

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

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

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

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

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

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

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

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

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

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

7 meses ago | 2 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 ...

7 meses 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?

7 meses ago | 3 answers | 0