Question

How to write 10^(-6) in xlabel?

I need to write a line in the xlabel. In that line, avlue has to be shown as 4x10^(-5). I am using the below command: xlabel([...

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

Question

How to set minor ticks for any particular position?

I need to set xticks from -4000 to 4000. I use the following command to set ticks at every 500. xticks(-4000:500:4000) But I n...

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

Question

How can I write a fraction inside string?

I have a plot where I put the graph's parameters in a string and put xlabel as the unit on X-axis. Inside the string, I need to ...

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

Question

How can I use the command 'tiledlayout' inside a loop

How I can I use 'tiledlayout' if I need to plot two graphs with each one has multiple graphs? I was using subplot but the white ...

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

Question

How to find Jiles Atherton Parameters in non-linear reluctance from simulink?

I am working to create the B-H curve using Jiles-Atherton Model. I found that the simulink has the build-in block for that named...

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

Question

Why I am not getting a proper B-H curve?

I have plotted a B-H curve based on simulink model. But when it reaches to satuation, to does not comes backwords properly. The ...

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

Question

Putting alpha in a string

I have to make a figure caption from the m.file. The caption contains greek letters alpha. I was trying put it in thwe caption a...

environ 2 ans il y a | 2 réponses | 0

Question

How to plot and print two graphs in a same page?

I have been trying two put two graphs in a single make and make it PDF. But the border of the pages is not equal on all the side...

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

Question

How to set start and stop time of Simulink from m.file?

I have a simulink model. I have to get the result from that model in between certain time period. The model has to start running...

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

Question

How can I control the simulation run time from m.file?

I have both the smulation file and the m.file. I need to run the simulink based on values from the m.file. But I also need to co...

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

Question

Edit plot position in MATLAB

I have two plots. I need to fill them in a A4 page such way they fills the page. The plots has be square The margin is very smal...

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

Question

How to export simulink graoh to MATLAB plot?

I have to create 2000 graphs using loops. Whenever I start running my code, it always shows the 1st iteration graph and saves it...

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

Question

save m.file as PDF

Hi. I have a number of figures to be made as PDF. There are around 200 figures and I have to make them PDF with figure captions....

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

Question

Collecting data from cftool

How can I collect a certain value from the cftool. For example, after curve fitting, I get the value of m (y=m*x+c) from the cur...

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

Question

Change derivative in simulink

The derivative block in simulink has the build in block where the derivation is done with respect to time (t). But if I need to ...

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

Question

Import Graph to Curvefitting

I have a B-H curve through simulink simulation. It is plotted through X-Y graph of the simulink. How can I import it to curvefii...

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

Question

B-H curve

Can anyone give me how can I pot B-H curve in MATLAB? I don't have any data. If anyone can giveme example data with the MATLAB p...

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

Question

Jiles–Atherton parameters

How can I calculate Jiles-Atherton parameters. What will be the equations and how to write them in MATLAB code. can anyone give ...

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

Question

Plot a rectangle inside of a rectangle.

How can I plot a rectangle inside of a rectangle. I have a rectangle of 50 width and 20 length. I need a rectangle inside with 1...

plus de 2 ans il y a | 2 réponses | 0