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

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

ongeveer 9 jaar 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...

ongeveer 9 jaar ago | 1 answer | 0

Answered

how to arrange different matix as a contineus single matrix

Output1=horzcat(a,b,c)

how to arrange different matix as a contineus single matrix

Output1=horzcat(a,b,c)

ongeveer 9 jaar 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...

ongeveer 9 jaar ago | 1 answer | 0

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

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

ongeveer 9 jaar 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

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

ongeveer 9 jaar 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...

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

ongeveer 9 jaar 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...

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

ongeveer 9 jaar 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

Counting number of 1's in different bins

For a binary vector B K= sum(B==1) will return no of 1s

ongeveer 9 jaar 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 ...

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

ongeveer 9 jaar ago | 0

Answered

Find the total number of values between alimits

sum(3<A)-sum(A>=10) USE THIS

Find the total number of values between alimits

sum(3<A)-sum(A>=10) USE THIS

ongeveer 9 jaar 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

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

ongeveer 9 jaar 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)...

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

ongeveer 9 jaar 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.

Matrix multiplication have error

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

ongeveer 9 jaar 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...

error when sum a vector

It did not gave any error in my pc. >> probabilite= [0.165575031104594 0.158621930989492 0.160414724735035 0.15951323464744...

ongeveer 9 jaar 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..

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

ongeveer 9 jaar 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...

ongeveer 9 jaar ago | 1 answer | 0

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

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

ongeveer 9 jaar 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...

ongeveer 9 jaar ago | 0 answers | 0

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

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

ongeveer 9 jaar 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

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

ongeveer 9 jaar 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 ...

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

ongeveer 9 jaar ago | 0

Answered

i have a file in flukeviewform software which includes start time,stop time,maximum voltage,minimum voltage, average voltage,duration, date..and if i export this file to microsoft excel then how can i read that excel file in matlab?

xlsread function will help you. FileName = 'data.xls'; PathName = cd; Table=FileName; starttim...

i have a file in flukeviewform software which includes start time,stop time,maximum voltage,minimum voltage, average voltage,duration, date..and if i export this file to microsoft excel then how can i read that excel file in matlab?

xlsread function will help you. FileName = 'data.xls'; PathName = cd; Table=FileName; starttim...

ongeveer 9 jaar ago | 0

| accepted

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

ongeveer 9 jaar ago | 0 answers | 0

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

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

ongeveer 9 jaar 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...

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

ongeveer 9 jaar 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...

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

ongeveer 9 jaar ago | 0

| accepted

Answered

How to store and retrieve value in simulink

You can use integer delay block.

How to store and retrieve value in simulink

You can use integer delay block.

ongeveer 9 jaar ago | 0