Resuelto


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

más de 14 años hace

Resuelto


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

más de 14 años hace

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

más de 14 años hace | 0

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

más de 14 años hace | 0

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

más de 14 años hace | 1

| aceptada

Publicado


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

más de 14 años hace

Thumbnail

Respondida
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/

más de 14 años hace | 0

| aceptada

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

más de 14 años hace | 2

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

más de 14 años hace | 0

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

más de 14 años hace | 0

| aceptada

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

más de 14 años hace | 0

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

más de 14 años hace | 0

Publicado


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

más de 14 años hace

Thumbnail

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

más de 14 años hace | 0

| aceptada

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

más de 14 años hace | 0

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

más de 14 años hace | 0

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

más de 14 años hace | 0

| aceptada

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

más de 14 años hace | 0

| aceptada

Publicado


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

más de 14 años hace

Thumbnail

Publicado


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

más de 14 años hace

Thumbnail

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

más de 14 años hace | 1

| aceptada

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

más de 14 años hace | 1

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

más de 14 años hace | 1

| aceptada

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

más de 14 años hace | 0

Publicado


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

más de 14 años hace

Thumbnail

Publicado


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

casi 15 años hace

Thumbnail

Publicado


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

casi 15 años hace

Thumbnail

Publicado


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

casi 15 años hace

Thumbnail

Respondida
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/

casi 15 años hace | 1

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

casi 15 años hace | 0

| aceptada

Cargar más