Community Profile

# Ismael

63 total contributions since 2013

#### Ismael's Badges

View details...

Contributions in
View by

Question

Changing the font size of a block parameter value in Simulink 2019a
I have been using MATLAB 2018 and previous versions and I did not have problem with changing the font size of block parameter va...

environ un mois ago | 0 answers | 0

### 0

answers

Question

How to enforce ode15s to solve a DAEs system with some state variables limited by a range?
I have a set of DAEs to be solved for state and algebraic variables in the form of vectors. Two vectors of the state variables (...

2 mois ago | 1 answer | 0

### 1

answer

Question

How to find eigenvalue of a matrix (attached) having three variables?
I have a 33X33 matrix with three variables (KA1, KA2, KA3). I want to take its eigenvalues. The eigenvalue should be a function ...

3 mois ago | 1 answer | 0

### 1

answer

Question

Is it possible to convert a symbolic set of DAEs to a state-space form?
I was wodering if there is a way in Matlab to convert a set of DAEs to the state-space form symbolically; I have a system with f...

3 mois ago | 0 answers | 0

### 0

answers

Question

What does this "fsolve" message tell me?
I used fsolve for solving a set of AEs system, but at some points, there was a message (below) and I want to make sure that the ...

3 mois ago | 1 answer | 1

### 1

answer

Question

How to tell ode15s to change its max time step for a specific short time range?
I have a dynamic system coded in Matlab and solved using ode15s, and it works fine except it is slow because of the system size....

3 mois ago | 1 answer | 0

### 1

answer

Question

How to replace a "for loop" with vectorization?
Hi everyone, I have built in Simulink a user-defined function block for solving a set of algebraic nonlinear equations (with sin...

3 mois ago | 2 answers | 0

### 2

answers

Answered
change width and color of a compass plot
Thaks Adam, but I use compass function not polarplot. Anyway, I found my solution in: https://stackoverflow.com/questions/7859...

5 mois ago | 0

| accepted

Question

change width and color of a compass plot
I have a compass plot (attached) and I want to cnage the line width, color, and type using code not manually. Any help would be...

5 mois ago | 2 answers | 0

### 2

answers

Answered
How to add right ylabel with complex values (attached data and code)
Plotting is a basic problem in many fileds. I wonder how Matlab after years of feedbacks did not solve such a problem. The prole...

7 mois ago | 0

Question

How to add right ylabel with complex values (attached data and code)
I have a matrix attached called "PF". I read the matrix and plot it using pcolor. This matrix has x-label named "x_state" and le...

7 mois ago | 3 answers | 0

### 3

answers

Question

Highlighting a portion of an image created from a matrix using "pcolor"
I have created an image to visualize a matrix I have using pcolor function. The plot is shown below. I want to highlight element...

7 mois ago | 1 answer | 0

### 1

answer

Question

How to get mask parameters of a Simulink block
I am trying to get the parameter values of a Simulink block. Any idea? Thanks

environ un an ago | 1 answer | 0

### 1

answer

Question

How to change values of elements in a sparse matrix
I have the following sparse matrix: (1,1) 1.1000 (2,2) 2.1000 (3,3) 0.1000 (4,4) 5.100...

environ un an ago | 1 answer | 0

### 1

answer

Answered
Error using xlsread (line 249) Excel Worksheet could not be activated.
I had the same problem. After closing-reopening MATLAB, it worked just fine. I have no add-in plugin in Excel.

environ un an ago | 2

Answered
How to add a column to a matrix by matching element (attached data)
Thank you Adam, thank you Jason. Both methods work. Jason's method is relatively easier since there is no for loop.

environ un an ago | 0

Question

How to add a column to a matrix by matching element (attached data)
Hi I have two matrices A and B with different sizes; B is smaller in size than A. I want to add another column to A by matching...

environ un an ago | 3 answers | 0

### 3

answers

Question

How to save MPC (model predictive controller) to be used later on? The error message is attached.
I have designed an MPC controller in Simulink, and it works well as long as I don't exit-reopen MATLAB or don't clear the worksp...

plus d'un an ago | 2 answers | 0

### 2

answers

Question

How to use fsolve solution as its initial values for the next step size
Hi, I want to solve a system of nonlinear equations (having sine and cosine) inside a user-defined function in Simulink. It wor...

plus d'un an ago | 1 answer | 0

### 1

answer

Question

faster version of "fsolve" function
Does anybody know a function in MATLAB that can perform a similar job as "fsolve" does but faster? I have a user-defined functio...

presque 2 ans ago | 0 answers | 0

### 0

answers

Question

How to combine pre-saved plots (.fig) into one figure?
Hi, I have several pre-saved plots in format .fig and I want to combine them together with different colors. Any simple functio...

environ 2 ans ago | 1 answer | 0

### 1

answer

Question

How to copy a complex matrix in the workspace to an m-file?
I need to copy a large complex matrix from the workspace to be saved in m-file as a matrix (notice the complex sign (i or j or 1...

plus de 2 ans ago | 1 answer | 0

### 1

answer

Question

Multiplying [16x16] matrix with [16x1] vector in Simulink?
I have a matrix A (=16x16) multiplied by the vector B (=16x1): Result=A (16x16) * B (16x1) Using Simulink (The rest of t...

plus de 2 ans ago | 0 answers | 0

### 0

answers

Question

Solving DAEs problem with different initial conditions at different times of simulation using ode15s
I have a set of DAEs that I solved it using ode15s. Now, I want to solve the same problem but the initial conditions are changed...

plus de 2 ans ago | 1 answer | 0

### 1

answer

Question

Tuning transfer function to get only positive parameters using Simulink
I have a transfer function with order three in both numerator and denominator. I am tuning the block using the control system tu...

plus de 2 ans ago | 1 answer | 0

### 1

answer

Question

Stiff Delay Differential Equations
Does anybody know how to solve STIFF differential equations with delay in time? The solvers in Matlab (dde23,...) are for non-st...

plus de 2 ans ago | 2 answers | 0

### 2

answers

Question

What function in Matlab is equivalent to the block in Simulink "Transport Delay"?
I want to use a delay function that does exactly what the block in Simulink "Transport Delay" does. I tried to use the function ...

plus de 2 ans ago | 1 answer | 0

### 1

answer

Question

Updating Initial Conditions from last calculated values
I am trying to find a way to update the initial conditions (x0=[y1,y2,y3,y4,y5]) needed for fsolve in Simulink using Matlab Func...

plus de 2 ans ago | 1 answer | 0

### 1

answer

Question

Why am I getting a "Signal Dimension" error?
I am wondering why I get the following error message. There is no problem with the signal dimension as shown.Also, I am not usin...

plus de 2 ans ago | 2 answers | 0

### 2

answers

Answered
How to pass a variable from one file to another?
Also, I added a block "To Workspace" with the name "B" but still B is undefined.

plus de 2 ans ago | 0

Load more