![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/10572200_1516741880703_DEF.jpg)
Arvind Sathyanarayanan
Followers: 0 Following: 0
Feeds
已回答
Current generator and inductor Simulink
Daniele, you can not connect an ideal current source in series with an inductor. Try adding a small resistor in series with your...
Current generator and inductor Simulink
Daniele, you can not connect an ideal current source in series with an inductor. Try adding a small resistor in series with your...
2 years 前 | 0
已回答
Plotting amplitude response and phase
You can use the bode command to get the magnitude and phase response. Try: bode(sys);
Plotting amplitude response and phase
You can use the bode command to get the magnitude and phase response. Try: bode(sys);
4 years 前 | 0
已回答
powergui and ideal ac source issue
Timothy, Guessing based on your desciprition, it seems like the time step might not be large enough. If you're using a fixed s...
powergui and ideal ac source issue
Timothy, Guessing based on your desciprition, it seems like the time step might not be large enough. If you're using a fixed s...
5 years 前 | 0
| 已接受
已回答
How to specifiy the parameters of "Distributed Parameter line" block?
Sam, If you know the RLC parameters of your cable, you can use the pi section line or you could just lump the parameters and us...
How to specifiy the parameters of "Distributed Parameter line" block?
Sam, If you know the RLC parameters of your cable, you can use the pi section line or you could just lump the parameters and us...
5 years 前 | 0
已回答
Is it possible to use "add_line()" betwen "Model Reference" Blocks
Lucas, Your command should be: %Syntax: add_line('system_name', 'blockname/outport', 'blockname/inport'); add_line(gcs, 'Mode...
Is it possible to use "add_line()" betwen "Model Reference" Blocks
Lucas, Your command should be: %Syntax: add_line('system_name', 'blockname/outport', 'blockname/inport'); add_line(gcs, 'Mode...
5 years 前 | 0
已回答
I want to use variable capacitor in SimPowerSystems like in simscape.How can i do it?
There is no block that will readily let you do this in SimPowerSystems but, the Simscape foundation library has a time varying c...
I want to use variable capacitor in SimPowerSystems like in simscape.How can i do it?
There is no block that will readily let you do this in SimPowerSystems but, the Simscape foundation library has a time varying c...
5 years 前 | 0
| 已接受
已解决
Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...
5 years 前
已解决
Interpolator
You have a two vectors, a and b. They are monotonic and the same length. Given a value, va, where va is between a(1) and a(end...
5 years 前
已回答
Transfer of admistrative rights
Stephen, To add a new administrator to a master license, go to the Mathwork license center: https://www.mathworks.com/licensece...
Transfer of admistrative rights
Stephen, To add a new administrator to a master license, go to the Mathwork license center: https://www.mathworks.com/licensece...
5 years 前 | 0
| 已接受
已回答
my for loop is not extracting all the possible values
Have you tried this: for idx=0.0:0.1:3 if any(x(:)==idx) %if they equal and it is true, thus returning 1 [row,co...
my for loop is not extracting all the possible values
Have you tried this: for idx=0.0:0.1:3 if any(x(:)==idx) %if they equal and it is true, thus returning 1 [row,co...
5 years 前 | 0
已回答
Converting Simscape DC Voltage Source to Simulink
Mitchell, thanks for the screenshot. If I understand you correctly, you're trying to use Simscape foundation library. The best...
Converting Simscape DC Voltage Source to Simulink
Mitchell, thanks for the screenshot. If I understand you correctly, you're trying to use Simscape foundation library. The best...
5 years 前 | 0
| 已接受
已回答
Find out if X out of Y elements of an array are true
You can do something like this : X=sum(Array(:) == 1); if X>=4 disp('4 or more elements are true') end If they are 1s ...
Find out if X out of Y elements of an array are true
You can do something like this : X=sum(Array(:) == 1); if X>=4 disp('4 or more elements are true') end If they are 1s ...
5 years 前 | 0
已回答
Exit Matlab from a Simulnk callback function
Using the quit force command will let you overcome the error. Please make sure you save everything you need before running the c...
Exit Matlab from a Simulnk callback function
Using the quit force command will let you overcome the error. Please make sure you save everything you need before running the c...
5 years 前 | 0
| 已接受
已回答
How to work with livescripts in Simulink projects
Sarah, I tried this on 2017b and I'm able to add livescripts to my project files. Please see the screenshot. Are you adding ...
How to work with livescripts in Simulink projects
Sarah, I tried this on 2017b and I'm able to add livescripts to my project files. Please see the screenshot. Are you adding ...
5 years 前 | 0
已回答
Converting Simscape DC Voltage Source to Simulink
Mitchell, Can you attach the model or post a screenshot so we can see the blocks you're trying to connect? If you're using t...
Converting Simscape DC Voltage Source to Simulink
Mitchell, Can you attach the model or post a screenshot so we can see the blocks you're trying to connect? If you're using t...
5 years 前 | 0
已回答
How do you connect simscape elements to other elements in the Simulink?
Pooya, To connect SimPowerSystems to SimElectronics, try using the Current-Voltage Simscape Interface. There are some examples...
How do you connect simscape elements to other elements in the Simulink?
Pooya, To connect SimPowerSystems to SimElectronics, try using the Current-Voltage Simscape Interface. There are some examples...
5 years 前 | 1
已回答
import large csv file
Use the readmatrix() command to import the csv file. The 'Output Type' arugment will let you change the data type and 'Range' ar...
import large csv file
Use the readmatrix() command to import the csv file. The 'Output Type' arugment will let you change the data type and 'Range' ar...
5 years 前 | 0
已回答
Pid block output limitation
You were on the right path, the way to do is this by adding your own saturation block to the individual branches. Since Matlab d...
Pid block output limitation
You were on the right path, the way to do is this by adding your own saturation block to the individual branches. Since Matlab d...
5 years 前 | 0
| 已接受
已回答
How can I integrate SimscapeBlock (Exponential Diode) into SubSystem (with powergui) electrical network?
You'll have use the current-voltage simscape interface to do this. Please this and this.
How can I integrate SimscapeBlock (Exponential Diode) into SubSystem (with powergui) electrical network?
You'll have use the current-voltage simscape interface to do this. Please this and this.
5 years 前 | 0
| 已接受
已回答
Can't download this on to simulink.
What happens when you type it in the command window and press enter? If you get this: Undefined function or variable 'sdl_vehic...
Can't download this on to simulink.
What happens when you type it in the command window and press enter? If you get this: Undefined function or variable 'sdl_vehic...
5 years 前 | 0
已回答
Can someone help me solve this problem (Array indices must be positive integers or logical values)
The issue is with length(CPap). You're trying to divide sum(abs(diff(CPap)))*freq by length(0.3), in your case length is not an ...
Can someone help me solve this problem (Array indices must be positive integers or logical values)
The issue is with length(CPap). You're trying to divide sum(abs(diff(CPap)))*freq by length(0.3), in your case length is not an ...
5 years 前 | 0
已回答
How do I change the time unit of my signal (from second to hour) in the signal builder block?
Felix, I don't think you change the time to hours but in reality time in simulink is unitless. Please see this answer.
How do I change the time unit of my signal (from second to hour) in the signal builder block?
Felix, I don't think you change the time to hours but in reality time in simulink is unitless. Please see this answer.
5 years 前 | 0
已回答
Zener Diode for Simscape.
The power_zener uses the Specialized Technology library but, the your model is built using the Simscape library. To use a diod...
Zener Diode for Simscape.
The power_zener uses the Specialized Technology library but, the your model is built using the Simscape library. To use a diod...
5 years 前 | 2
| 已接受
已回答
i need help with inuptdlg
Ah! The syntax for inputdlg() is: answer = inputdlg(prompt,dlgtitle,dims,definput) The error was because when defining the def...
i need help with inuptdlg
Ah! The syntax for inputdlg() is: answer = inputdlg(prompt,dlgtitle,dims,definput) The error was because when defining the def...
5 years 前 | 0
| 已接受
已回答
i need help with inuptdlg
You could specify default values for the 4 inputs. Example: prompt = {'Choose the figure name','Choose the Tree name',... ...
i need help with inuptdlg
You could specify default values for the 4 inputs. Example: prompt = {'Choose the figure name','Choose the Tree name',... ...
5 years 前 | 0
已回答
How can I generate a physical square signal of boolean type on Simulink?
You need the double data type to drive the switches but, using the NOT (or any logical operator) changes the data type to boolea...
How can I generate a physical square signal of boolean type on Simulink?
You need the double data type to drive the switches but, using the NOT (or any logical operator) changes the data type to boolea...
5 years 前 | 2
| 已接受
已回答
MATLABWindow.exe crashes when closing app or app creator
I beileve this is a bug with 2017b. I faced a similar issue when I used app.delete; to close my app. Have you tired installing t...
MATLABWindow.exe crashes when closing app or app creator
I beileve this is a bug with 2017b. I faced a similar issue when I used app.delete; to close my app. Have you tired installing t...
5 years 前 | 0
已回答
how can I plot smooth graph
A moving average filter might do the job. Play around with the number of points to preserve the peak value. N = 10; h = (1/N)...
how can I plot smooth graph
A moving average filter might do the job. Play around with the number of points to preserve the peak value. N = 10; h = (1/N)...
5 years 前 | 0
已回答
Control System Toolbox - Linear Analysis
To place the linear analysis points, you need to right click the line and select the type of point you want to use. See image be...
Control System Toolbox - Linear Analysis
To place the linear analysis points, you need to right click the line and select the type of point you want to use. See image be...
5 years 前 | 1
| 已接受
已回答
I am currently designing an electric vehicle model in simulink to stimulate the power losses.
Matlab has a reference.
I am currently designing an electric vehicle model in simulink to stimulate the power losses.
Matlab has a reference.
5 years 前 | 1
| 已接受