Answered

Variable size matrix in simulink

I think you should only set the command min(X), where X is the vector that you want to find the minimum element.

Variable size matrix in simulink

I think you should only set the command min(X), where X is the vector that you want to find the minimum element.

7 years ago | 0

Answered

Do you know which Simulink block this is?

This is the memory block you can find it in the discrete library. This block applies a one integration step delay. The output i...

Do you know which Simulink block this is?

This is the memory block you can find it in the discrete library. This block applies a one integration step delay. The output i...

7 years ago | 0

| accepted

Answered

How do I apply exponential and logarithmic curve fitting

You can use cf = fit(x,y,'exp1'); where x and y are your set of points.

How do I apply exponential and logarithmic curve fitting

You can use cf = fit(x,y,'exp1'); where x and y are your set of points.

7 years ago | 0

Question

calculate the integral of sin of x

When I use a integrator in simulink to determine the integral of a sine function that should give to me a -cos(x), instead, it g...

7 years ago | 2 answers | 0

Question

signal from different program

Is that possible in simulink to generate a signal that came from an other program? I mean, I have the x and y points of this vec...

7 years ago | 0 answers | 0

Question

matrix creation simulink block

I have a signal and its time correspondent. Is there a way of putting this signal inside a matrix in simulink so I can use it fo...

7 years ago | 1 answer | 0

Question

binary convertion data simulink

Is there anyway of converting a binary data into decimal in simulink? Or doing a operation in binary?

7 years ago | 0 answers | 0

Question

binary serial communication simulink

When I use a block of serial send from instrument control toolbox the data is sent in binary mode. But to perform any operation ...

7 years ago | 0 answers | 0

Question

problems on reordering data from serial

Is there anyway of reordering the signals that have been received through serial? For example, I'm sending 1 2 3 and it is comin...

7 years ago | 1 answer | 0

Answered

.m file variable to simulink model

You can use a block called "from workspace" in simulink source library.

.m file variable to simulink model

You can use a block called "from workspace" in simulink source library.

7 years ago | 0

| accepted

Question

Problems on building demo library

I'm trying to build a demo from xpclib called xpcserialbaseboardasciisplit.mdl, but when I do it it sends a message of error and...

7 years ago | 0 answers | 0

Question

FIFO Baseboard RS232 Send Receive

I'm trying to understand this demo model available in simulink xptarget library. xpcserialbaseboardasciisplit.mdl I alre...

7 years ago | 0 answers | 0

Question

Sine Wave with Query Instrument

Hello folks, I'm carrying out a test using a loop back of serial communication. I'm using a sine wave function of matlab an...

7 years ago | 0 answers | 0

Answered

How to plot a fixed value for a range in MATLAB?

You can do it this way. clear all; step=0.1; i=1; x=linspace(1,9,3); for k=x(i):step:x(i+2) if k>=1 && k...

How to plot a fixed value for a range in MATLAB?

You can do it this way. clear all; step=0.1; i=1; x=linspace(1,9,3); for k=x(i):step:x(i+2) if k>=1 && k...

7 years ago | 0

Question

Serial communication with Query Instrument

Hi, Do you know if the Query Instrument from Instrument Control Toolbox can really catch a signal from a serial connection...

7 years ago | 1 answer | 0

Answered

create ethernet packet with simulink

You can use a Instrument Control Toolbox from Simulink Library.

create ethernet packet with simulink

You can use a Instrument Control Toolbox from Simulink Library.

7 years ago | 0

Answered

Symbolic variable array problem

You don't need to specify shafun as a symbolic variable, just push it out and you'll have shafun as a matrix of 3x2.

Symbolic variable array problem

You don't need to specify shafun as a symbolic variable, just push it out and you'll have shafun as a matrix of 3x2.

7 years ago | 0

| accepted

Question

digital to analog conversion

I performed a serial communication between dsPIC33F and Simulink. When I send a constant value through serial connection to micr...

7 years ago | 1 answer | 0

Question

How to send a pulse signal to a dspic33f?

Hello guys I´m trying at first moment send a pulse signal to SIMULINK generated by a dspic33F using a usb-serial connection...

7 years ago | 0 answers | 0

Question

problems with library instalation

<</matlabcentral/answers/uploaded_files/846/realtime.jpg>> I'm trying to install a Real Time Embedded Coder for dsPIC. There ...

7 years ago | 0 answers | 0

Question

problems with serial communication

I'm trying to perform a serial communication with Matlab and a dspic using COM6 port of my pc. I use the following commands: s=...

7 years ago | 0 answers | 0

Question

fixed step solver simulation

Hi, I'm trying to implement a model using simulink. But i'm in trouble with this fixed-step-solver, after I run the simula...

8 years ago | 1 answer | 0

Question

load variation

Guys, I'm using a fuel cell stack model of simulink. And as a load I'm using a controlled current source. For this current I'm ...

9 years ago | 0 answers | 0

Answered

Simulink doubt

I guess what this guy wants to do is impossible, there is no way of shifting a signal from 2 s to 0. The computer will generate ...

Simulink doubt

I guess what this guy wants to do is impossible, there is no way of shifting a signal from 2 s to 0. The computer will generate ...

9 years ago | 0

Answered

Simulink doubt

Let me explain to you better. Let's say we have a signal A and B. The first one is a signal that within the interval 0-1s it ha...

Simulink doubt

Let me explain to you better. Let's say we have a signal A and B. The first one is a signal that within the interval 0-1s it ha...

9 years ago | 0

Question

Simulink doubt

Guys is there anyway of doing an operation in simulink one second after it has begun?

9 years ago | 4 answers | 0

Question

fuel cell

Does someone here know if there is a way of watching inside the fuel cell icon that was performed in simulink, I mean the code.

9 years ago | 0 answers | 0

Question

integrator block

Does someone know how I integrate this function in simulink: f(t)=sin(t) within the interval 0 to pi/2? I know in matlab it is...

9 years ago | 1 answer | 0

Question

Compressor Model

Guys, do you know if there is a compressor model in simulink that is described in page 15 of this link, <https://www.ideals.i...

9 years ago | 0 answers | 0

Question

Compressor

Guys, I want to know if Matlab 7.7 has some compressor model? I read that a eps folder should be necessary, but I just can't f...

9 years ago | 1 answer | 0