Answered
How to set the default version of Matlab between two versions?
If you are using MS Windows, then: http://www.mathworks.com/matlabcentral/answers/44849

9 years ago | 2

| accepted

Answered
convert plot(x,y) to plot(y(ind))
g=interp1(y,x,0.5) g gives you the x value corresponding to the given y value (0.5). Use a for loop to find out the enti...

9 years ago | 0

Answered
Is there any setting in simulink to operate floating by integer ?
You can use convert block <</matlabcentral/answers/uploaded_files/32998/conv.png>>

9 years ago | 0

Answered
Smooth step changes in simulink
using a low pass filter should produce the result you wanted.. << <</matlabcentral/answers/uploaded_files/32987/step.jpg...

9 years ago | 0

| accepted

Answered
How to get unity power factor in three phase rectifier by hysteresis current controller
Steps: 1) Sample the input line voltage signal. Use a PLL for syncronization, the output of which is a unit mag sinusoidal sign...

9 years ago | 0

Answered
How do I make a for loop for summing up to specified integer
clc k=input('Enter no'); sum=0; for n=1:k sum=sum+n; end disp(sum)

9 years ago | 0

Question


Using version deatils of the tool box in application
HELLO ALL, Iam developing an application for code generation later. I would like to test the version of tool boxes required fo...

9 years ago | 1 answer | 0

1

answer

Answered
how i can get the first and second letters in cell data
for k=1:4 f(k)=letters{k}(1); end for k=1:4 g(k)=letters{k}(2); end

9 years ago | 1

Answered
How can I get the interpolated value of and array
c= fit([1; 2; 3 ;4],[10 ;20; 30; 40],'poly2')

9 years ago | 0

Answered
How do I design a for-loop to sample 3 seconds of a signal every 15 seconds?
f= rand(6); f=f(:); k=1; for i=1:1:length(f) if (mod(i,15)<3) b(k)=f(i); k=k+1; e...

9 years ago | 0

Answered
DC/DC and DC/AC PWM Converters result problem
Yeah i do agree with your analysis. There is a mis understanding of the PWM pulse generation. In the model the carrier wave is...

9 years ago | 0

Answered
DC/DC and DC/AC PWM Converters result problem
If duty is 0.8, the output was 359V. <</matlabcentral/answers/uploaded_files/30808/power_fftscope_0.8.bmp>> If duty is 0...

9 years ago | 0

Question


How to add four y axes on to a plot
Hi.. I would like to know how should i add multiple y axes side by side on left of the plot. I was trying to use gca but could...

9 years ago | 1 answer | 0

1

answer

Answered
how to arrange different matix as a contineus single matrix
Output1=horzcat(a,b,c)

9 years ago | 0

| accepted

Question


Filling different regions of a figure with different colous/patterns
Hello! I have a figure plotted between say y=sin(x) and (x) where x=0:pi/18:2*pi. I would like create 3 regions as defined blo...

9 years ago | 1 answer | 0

1

answer

Answered
I have a doubt, how to notify the values at output..??
You can probably save all the output data points in a mat file/ workspace. Later you can edit that data as you want. Is tha...

9 years ago | 0

Answered
Change y axis length without changing axis range
You may require an higher order polynomial to do that. You may require more data points to exaclty fit a curbve to the data

9 years ago | 0

Answered
use of Fast fourier transform block in simulink
This block gives you the FFT spectrum at appropriate intervals and displays in a figure. It also displays the detailed rms value...

9 years ago | 0

Answered
Can any friends guide me this question ? How increase High efficiency and power density in Bridgeless Rectifier ?
Probably the question is not related to MATLAB/SIMULINK. ASIK, bridgeless rectifier itself is a highly efficient topology since...

9 years ago | 0

Answered
Counting number of 1's in different bins
For a binary vector B K= sum(B==1) will return no of 1s

9 years ago | 0

Answered
How to connect subsystem with series resistor load from sim power system?
Signal components can not be connected to the power components. As the subsytem doesnot consists the power components such ...

9 years ago | 0

Answered
Find the total number of values between alimits
sum(3<A)-sum(A>=10) USE THIS

9 years ago | 0

Answered
how to make a function that generate uniformely distributed random matrix
Replace a=rand(1,limit); with a=limit*rand(1,1); in your code

9 years ago | 1

Answered
Write a Matlab script that asks for an integer (n) and then computes the following based on the value of the integer:
k=input('enter the data') a=1:k; disp('before manipulations') disp(a) for n=1:length(a) if (a(n)>1&&mod(a(n),2)...

9 years ago | 0

Answered
Matrix multiplication have error
Pls refer the basic matrix multiplication rules. you can not multiply a 4*1 matirx with 3*7 matrix.

9 years ago | 0

Answered
error when sum a vector
It did not gave any error in my pc. >> probabilite= [0.165575031104594 0.158621930989492 0.160414724735035 0.15951323464744...

9 years ago | 0

| accepted

Answered
How can I create a sub-matrix if the number of rows change according to main-matrix?
clc k=0; for i=2:(length(A)) if (A(i)~=A(i-1)) k=k+1 b(k)=i end end Try out this..

9 years ago | 0

Question


picking data from excel
Hi I have an excel sheet which contains the names of the people (strings)as the first coulmn. Remaining coloumns contains the...

9 years ago | 1 answer | 0

1

answer

Answered
how to overlay two plot of image to be one image only. But display both plot on that image.
Probably subplot may help you. subplot(2,1,1) plot(x1,y1) subplot(2,1,2) plot(x2,y2) this creates two plots side by side

9 years ago | 0

Load more