Question

Why do I get the error "Cannot open source file: 'windows.h'" when trying to compile a model Simulink (R2013a)?

Hello Users, I am facing an issue while Compiling my Simulink Model containing ASCII Encode block. *(F) C0005; "C:\PROGRA~...

presque 3 ans ago | 0 answers | 0

Question

How to calculate the difference of means?

Hello all, I have a signal and from that signal I want to calculate the difference of means i.e mean of vaues from time step ...

plus de 5 ans ago | 1 answer | 0

Question

How to calculate the difference between Max and Min value of a signal at every x seconds?

Hello everyone, I am looking for a way to determine the difference between the maximum and minimum value of the a signal over...

plus de 5 ans ago | 1 answer | 0

Question

Error using the Matlab function block in Simulink

Hello, I am trying to use a matlab function block but the function I wrote is giving me an error when used inside the matlab ...

plus de 5 ans ago | 1 answer | 0

Question

How to call a structure whose name is assigned to another variable???

Hello all, I am trying to get the data from a structure but I the problem I am facing is that I am not able to call the Struc...

plus de 5 ans ago | 2 answers | 0

Question

Creation of Simulink Libraries

Hello all I have created a Simulink library but the library I created is linked to its block. I want to have it such a way th...

presque 6 ans ago | 1 answer | 0

Question

Difference between Sample time and time step

Hello all, This question may sound ridiculously stupid but still I want to clear my doubts and will appreciate your help. Can...

presque 6 ans ago | 1 answer | 0

Question

Placing Text in a Plot

Hello I am trying to place some text at upper left corner of my Plot so I used the following code but as there is difference ...

plus de 6 ans ago | 2 answers | 0

Question

Simple question regarding plot

Hello all I have 2 set of data let say Given_data and Obtained_data now I want to draw first Given_data on x axis as red poin...

plus de 6 ans ago | 1 answer | 0

Question

Question regarding Matlab level 2 S function

Hello all I have written a S function and it involves the use of approximatly 15 dialog parameters which are to be passed, as...

plus de 6 ans ago | 1 answer | 0

Question

Very simple logical question

Hello all I want to generate the set of numbers such that each number is having the same number of digits. Something like ...

plus de 6 ans ago | 2 answers | 0

Question

Question regarding cell to string conversion

Hello all I have a cell called A which looks like 'E1' 'E34' 'E2' 'E12' 'E17' ...

plus de 6 ans ago | 1 answer | 0

Question

Very simple question about strings

Hello all I have a cell containing stings something like this: A={'SI1','SI12','SI13','SI2'}; I have to arrange these...

plus de 6 ans ago | 2 answers | 0

Question

Problem in using nlinfit?

Hello all I want to use a nlinfit, previously I used for two inputs and it was working fine but not I have 3 inputs and its g...

plus de 6 ans ago | 1 answer | 0

Question

How to compare rows in a matrix

Hello all I have a matrix A A = 1 1 0 0 0 0 -1 0 1 0 -1 0 ...

plus de 6 ans ago | 2 answers | 0

Question

Basic question regarding S function

Hello all I wrote a matlab level 2 S function,which in its ouput block calling the matlab function,now in that function some ...

plus de 6 ans ago | 1 answer | 0

Question

SImple question about Simulink S function

Hello all How in S function I can obtain: U(t2)-U(t1)/t2-t1 U(t2) is the velocity at current time step and U(t1) is ...

plus de 6 ans ago | 1 answer | 0

Question

Problem in using fsolve

Hi I am trying to solve the following set of equations but the solver is prematurely stopped and If I alter the MaxIter and M...

plus de 6 ans ago | 3 answers | 0

Question

Need help to form equations

Hello all I want to form the equations through the matlab commands,I have the matrix of constants....Can anyone guide how can...

plus de 6 ans ago | 1 answer | 0

Question

How to solve linear and non linear equation system?

Hello Can anyone tell me how I can solve the following system of equation 1) a1v1-a2v2-a3v3-a4v4=0 2) a3v3-a5v5-a6v6=0...

plus de 6 ans ago | 2 answers | 0

Question

How to solve the following system of equations?

Hello I have a set of equations and I want to solve using matrix system. Please have a lppk at the example aV1=bV2+cV3 ...

plus de 6 ans ago | 1 answer | 0

Question

How to use legend command

Hello all I am having the data lets say for seven elements and I am ploting it using a loop in a single figure. But in these ...

plus de 6 ans ago | 1 answer | 0

Question

which command should be used in Matlab to save a figure?

Hello all I want to save the obtained figure as a file automatically. I don't have much idea how i can do it in Matlab. Pleas...

plus de 6 ans ago | 2 answers | 0

Question

How to generate and use different colours on a plot and label as per the colours?

Hello all I want to know how i can generate different colours and use those in my figure and then place on the figure that wh...

plus de 6 ans ago | 3 answers | 0

Question

How to find the indices of element occuring once in a vector?

Hello all I want to know...How can I get the indices of a value that is occuring only once in a vector...please guide. Exa...

plus de 6 ans ago | 4 answers | 0