Risolto


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

oltre 14 anni fa

Risolto


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

oltre 14 anni fa

Risposto
Problem with "initial conditions failed to converge" when connecting rotational to translational system
I looked at the model you linked, but the custom file is missing, like the parameter values. Adding stiffness and damping ma...

oltre 14 anni fa | 0

Risposto
Integrate in embedded matlab function
If your EML block is continuous, I recommend outputting the "dx" signal, feed it to an Integrator block and connect the output o...

oltre 14 anni fa | 0

Risposto
Difference between decimation and sample time
Decimation: The scope will show only 1 point every X time steps. Whatever the rate of the input signal, with a decimation of 5, ...

oltre 14 anni fa | 1

| accettato

Pubblicato


Advanced S-function Techniques: Scheduling Future Events
Today I will describe how to use a variable sample time s-function to schedule events in the future. This topic is fairly...

oltre 14 anni fa

Thumbnail

Risposto
Systems of Differential Equations
Seth published a good post on this topic: http://blogs.mathworks.com/seth/2008/05/23/how-to-draw-odes-in-simulink/

oltre 14 anni fa | 0

| accettato

Risposto
Problem with "initial conditions failed to converge" when connecting rotational to translational system
Your code looks good. I think that the issue is that it often (depending on how it is connected) lead to index-2 DAE. The eq...

oltre 14 anni fa | 2

Risposto
Simulink Feedback Loop (Function-Call feedback Latch)
The "Function-Call feedback latch" option is available only if the Inport is inside a function call subsystem. If you want a del...

oltre 14 anni fa | 0

Risposto
Replacement for simset?
The main reason why the 'SrcWorkspace' is not documented anymore is because it is not compatible with the parallel toolbox. T...

oltre 14 anni fa | 0

| accettato

Risposto
Finding the velocity from displacement
I like to use a filtered derivative to do that. A transfer function in the form s/(tau*s+1)^2 with the right "tau" will give...

oltre 14 anni fa | 0

Risposto
How to include fluid inertia in a pipe that oscillates linearly in Simscape/SimHydraulic
With SimHydraulics, the Segmented Pipeline block should help. It simulates a hydraulic pipeline with resistive, fluid inerti...

oltre 14 anni fa | 0

Pubblicato


Model-Based Design of a Dicycle
The other day I found this video: If you watch carefully, you will see around 1:50 that they used Simulink to design...

oltre 14 anni fa

Thumbnail

Risposto
Units problem during STL file importing
Is it possible that you are affected by this bug: http://www.mathworks.com/support/bugreports/675606 If not, please contac...

oltre 14 anni fa | 0

| accettato

Risposto
[Simulink] Discrete equivalent of variable transport delay
The Delay block should do the job: http://www.mathworks.com/help/toolbox/simulink/slref/delay.html You will need to enable...

oltre 14 anni fa | 0

Risposto
Simulink and Variable Sized Global Variables
Simulink supports variable size signals. However you need to specify a maximum size. This topic is covered here: http://ww...

oltre 14 anni fa | 0

Risposto
simmechanics model
There is no block in SimMechanics to direction compute friction forces between wheels and ground. Typically, what you need to...

oltre 14 anni fa | 0

| accettato

Risposto
DriveLine Environment Error
There can be many causes for this error. One example is if there is no mass in your system. Simulink will try to solve "F=ma"...

oltre 14 anni fa | 0

| accettato

Pubblicato


Frames… from signals to blocks
Today I want to talk about an important topic for DSP System Toolbox and Communications Toolbox users: Frame-Based...

oltre 14 anni fa

Thumbnail

Pubblicato


Model-Based Design Dilemma
I am currently working on a model and I have a dilemma. There are two ways I could model my system. I need you to tell me...

oltre 14 anni fa

Thumbnail

Risposto
inserting code in sim-mechanics model
Use Sensor blocks to measure the motion (position, velocity, acceleration of bodies and joints). In Simulink implement any funct...

quasi 15 anni fa | 1

| accettato

Risposto
Simulink - Forward Euler Backward Euler
This really looks like you are affected by the following bug: http://www.mathworks.com/support/bugreports/326058 Try setti...

quasi 15 anni fa | 1

Risposto
I need to detect the zero voltage for switching on the mosfet .i am currently working on quasi resonant converter.do anyone have an idea on how to detect the zero voltage crossing using simulink blocks?
The Hit Crossing block is designed especially to detect zero-crossing. http://www.mathworks.com/help/toolbox/simulink/slref/h...

quasi 15 anni fa | 1

| accettato

Risposto
algebraic loop
I recommend taking the time to go through the algebraic loop section of the doc: http://www.mathworks.com/help/toolbox/simuli...

quasi 15 anni fa | 0

Pubblicato


Mixed-signal modeling with Simulink
If you’re a mixed-signal engineer, we have a Christmas present for you – a new library of mixed-signal blocks and demos...

quasi 15 anni fa

Thumbnail

Pubblicato


Welcome to the Linear Analysis Tool!
Today I am happy to welcome back guest blogger Erman Korkut to talk about the new Linear Analysis Tool. Linear...

quasi 15 anni fa

Thumbnail

Pubblicato


Simulink Student Challenge Results
Do you remember that a few months ago Seth posted a video to launch the first Simulink Student Challenge? We are...

quasi 15 anni fa

Thumbnail

Pubblicato


Initializing buses using a MATLAB Structure
Did you notice that since R2010a it is possible to initialize buses with a MATLAB structure? If you were not aware, here is...

quasi 15 anni fa

Thumbnail

Risposto
problem with sine-wave and scope component in simulink
You might be interested by that: http://blogs.mathworks.com/seth/2009/07/14/refining-the-output-of-a-simulation/

quasi 15 anni fa | 1

Risposto
Integrator problem
This is probably because the input signal is different during minor steps. You can confirm that by trying: - Try ode1 solver....

quasi 15 anni fa | 0

| accettato

Carica altro