Community Profile

Last seen: 1 giorno fa Attivo dal 2022

#### Content Feed

Visto da

Domanda

how to make surf plot using 3 arrays
I have 3 arrays. The 1st one is (5*1) and the 2nd one is (11*1). The 3rd one is (5*11). Basically using the 1st and 2nd the 3 ar...

1 giorno fa | 1 risposta | 0

### 1

risposta

Domanda

How save the array?
I have an array satring from 0.1 to 1 with 0.1 difference. I have to use it in foor loop. It is required that ra has to be in th...

1 giorno fa | 1 risposta | 0

### 1

risposta

Domanda

How to design a transformer based on Unified Magnetic Equivalent Circuit (UMEC) approach in Simulink?
I am trying to design a transformer based on the Unified Magnetic Equivalent Circuit (UMEC) approach. It has already been implem...

2 mesi fa | 1 risposta | 0

### 1

risposta

Domanda

How to implement integration of an array in MATLAB?
I have been using cumtrapz for integrating an array. However, the function I am integrating is a cosine wave and it is expressed...

5 mesi fa | 0 risposte | 0

### 0

risposte

Domanda

How to integrate using the for loop?
I have a cosine wave function. how can I integarte that using the for loop. The cosine wave is an array of 1x40019. How can i in...

5 mesi fa | 1 risposta | 0

### 1

risposta

Domanda

How to integrate cosine wave in MATLAB?
I have a cosine wave of 50Hz and and 1000 Amplitude. It is a AC voltage. I need to integrate it. I know that it would be the sin...

5 mesi fa | 1 risposta | 0

### 1

risposta

Risposto
How to select rows from an array?
I think I found out the way. It has to be something like this: B=A([2, 4, 6], :)

6 mesi fa | 0

Domanda

How to select rows from an array?
I have matrix of A . I need to select the 2nd, 4th and 6th row. How can I write that in MATLAB code?

6 mesi fa | 3 risposte | 0

### 3

risposte

Domanda

How to solve nonlinear equations in MATLAB?
I have the following equations, a+b(ic)+c(ic)^2=(1.1809)^2 a+b(id)+c(id)^2=(3.1570)^2 I need to solve the equations to find t...

6 mesi fa | 1 risposta | 0

### 1

risposta

Domanda

How to perform differentiation in MATLAB?
I have the following function. The F is a 1*4 matrix and it is given. w=2*pi*f where f=50 Hz. I need to find out the value of...

7 mesi fa | 1 risposta | 0

### 1

risposta

Domanda

How to generate a nonlinear equation from MATLAB?
I have the data points of a nonlinear curve. X=[0 1 1.1 1.15] Y=[0 0.0042 0.0097 0.016] But I don not have the curve. How can...

7 mesi fa | 1 risposta | 0

### 1

risposta

Domanda

How to merge two .mat files?
I have a data file where the number of rows=721800 and number of column=23. I have another .mat file with same number of rows an...

10 mesi fa | 1 risposta | 0

### 1

risposta

Domanda

How can I write both alphabets and numbers in .mat file on same cell?
I need to save the data in .mat file. But the data values has names such as a=0.3, b=9, alpha=-0.89. In the cell, both the name ...

10 mesi fa | 2 risposte | 0

### 2

risposte

Domanda

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

11 mesi fa | 1 risposta | 0

### 1

risposta

Domanda

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

11 mesi fa | 1 risposta | 0

### 1

risposta

Domanda

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

11 mesi fa | 1 risposta | 0

### 1

risposta

Domanda

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

11 mesi fa | 1 risposta | 0

### 1

risposta

Domanda

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

11 mesi fa | 0 risposte | 0

### 0

risposte

Domanda

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

11 mesi fa | 0 risposte | 0

### 0

risposte

Domanda

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

11 mesi fa | 2 risposte | 0

### 2

risposte

Domanda

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

12 mesi fa | 1 risposta | 0

### 1

risposta

Domanda

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

12 mesi fa | 0 risposte | 0

### 0

risposte

Domanda

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

12 mesi fa | 1 risposta | 0

### 1

risposta

Domanda

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

12 mesi fa | 1 risposta | 0

### 1

risposta

Domanda

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

circa un anno fa | 0 risposte | 0

### 0

risposte

Domanda

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

circa un anno fa | 1 risposta | 0

### 1

risposta

Domanda

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

circa un anno fa | 0 risposte | 0

### 0

risposte

Domanda

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

circa un anno fa | 1 risposta | 0

### 1

risposta

Domanda

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

circa un anno fa | 0 risposte | 0

### 0

risposte

Domanda

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

circa un anno fa | 1 risposta | 0

risposta