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

Question


Writing s-functions to be used in real time environmnets
A model is available with me which is built such as to generate code using RTW to run on specific target. Iam tracing out now ho...

9 years ago | 0 answers | 0

0

answers

Answered
I want the value of 'gama1' to be obtained from the following equation
gamma1 variable has been used in the equations prior to its declaration. MATLAB does not understand what is gamma1 until it fac...

9 years ago | 0

| accepted

Answered
i want to give sinusoidal input of 230v 50Hz signal to my power electronics project? how can get this
You can use the AC voltage source simpowersystems ---> Electricla sources------> AC Volatge source

9 years ago | 0

Answered
Element-wise interval conformity check
Without looping, this can be done by accessing each element of a matrix and processing with an if condition. That makes lot of ...

9 years ago | 0

Question


How to interface C API in RTW environment
How to write c API tlc files and inline with the system tlc file to stream the data while code is excuted on specific hardware ...

9 years ago | 0 answers | 0

0

answers

Answered
Is there a specific function forcing user to select a particular option?
you can use i= menu(' Which Pet do You Have?','cat','dog','bird','other'); Which results in a pop up menu with opt...

9 years ago | 0

Answered
taking value of variable after some periods, or after few zero crossing
As i understood from your problem decsription, basically you require a frequency divider. Pls find the attachement for a simpl...

9 years ago | 0

Answered
Where do I have to put the plot?
IN your m-file, m results in a scalar value. Whereas Vcr is an array. Replace the plot command with plot(1:m,Vcr) or plot...

9 years ago | 0

| accepted

Answered
How to store and retrieve value in simulink
You can use integer delay block.

9 years ago | 0