Respondida
how to find y axis value's opposite x axis value
If both vectors are of same size, find the index of your variable from y and use it to pick the value at that position in x. A s...

más de 11 años hace | 0

| aceptada

Respondida
Need to write pre-written excel sheet using xlswrite or other function
You can also use table functions. For example T = readtable('Book.xlsx') newdata = [6 6 6 6 6 6 6 6 6 6]; newdata = n...

más de 11 años hace | 0

Respondida
Why does my vector repeat numbers?
for j = 1:length(x)-1 % Find jth smallest element imin = j; for i = (j + 1):length(x) if (x(i) < ...

más de 11 años hace | 0

| aceptada

Respondida
How to plot colorbar in matlab?
You should use filled contour plot with legend. Check contourf() and clegendm()

más de 11 años hace | 0

Respondida
please tell me how to perform color transform
color_img = imread('image.png'); gray_img = rgb2gray(color_img); imshow(gray_img)

más de 11 años hace | 0

| aceptada

Respondida
Ordinary Differential Equations Help
Did you check this? http://uk.mathworks.com/help/symbolic/mupad_ref/ode-solve.html

más de 11 años hace | 0

Respondida
how to run an m.file by another m.file ?
You just need to write the file name on the specific line of your program and make sure the other file exist in the same directo...

más de 11 años hace | 4

| aceptada

Respondida
How can I generate/use variable duty cycle PWM generation block in MATLAB?
Did you check the PWM Generator blocks in Simscape toolbox? http://uk.mathworks.com/help/physmod/sps/powersys/ref/pwmgenerat...

más de 11 años hace | 0

Respondida
How to design a controller in a three-phase PWM rectifier?
The general idea in such control design is to derive the controller parameters based on plant parameters using standard optimum ...

más de 11 años hace | 0

Respondida
Back-EMF of PMSM
If you're using Permanent Magnet Machine from Simscape library, I think, it has backemf as output signal. If you're building the...

más de 11 años hace | 1

| aceptada

Respondida
square of AC voltage in simulink ???
Normally you cannot connect physical signal ports to simulink signal ports. In such cases you should use either PS-Simulink conv...

más de 11 años hace | 1

Respondida
How can we plot on right Y axis?
You can use YAxisLocation. Check the below link. http://de.mathworks.com/help/matlab/ref/axes-properties.html

más de 11 años hace | 0

| aceptada