Statistiques
RANG
2 082
of 294 407
RÉPUTATION
30
CONTRIBUTIONS
0 Questions
28 Réponses
ACCEPTATION DE VOS RÉPONSES
0.00%
VOTES REÇUS
2
RANG
1 543 of 20 109
RÉPUTATION
1 202
CLASSEMENT MOYEN
4.70
CONTRIBUTIONS
16 Fichiers
TÉLÉCHARGEMENTS
34
ALL TIME TÉLÉCHARGEMENTS
10753
CONTRIBUTIONS
0 Publications
CONTRIBUTIONS
0 Public Chaîne
CLASSEMENT MOYEN
CONTRIBUTIONS
0 Point fort
NOMBRE MOYEN DE LIKES
Feeds
Index exceeds matrix dimensions
As a rule please use meaningful variable names. Simulink is a keyword. I get a feeling you are trying to store that data variabl...
plus de 5 ans il y a | 0
Aerospace and Flight Controls
https://in.mathworks.com/matlabcentral/answers/25688-modelling-and-simulation-of-a-flight-control-system This was answered long...
plus de 5 ans il y a | 0
| A accepté
How can I easily give all of my simulink random number generators different but controlable seeds?
I use an array of seed say 10x1. In a for loop i use the datetime to pick a random seed and assign it to the seed array. This ge...
plus de 5 ans il y a | 0
Why my simulink model is running in R2018b but not in R2015a ?
You can try the Signal Specification block from Simulink >> Signal Attributes >>. Perhaps this will work. Enable data type and s...
plus de 5 ans il y a | 0
Why my simulink model is running in R2018b but not in R2015a ?
Do you use variable being passed inside as an array. The matlab function in the simulink may require the array size to be define...
plus de 5 ans il y a | 1
| A accepté
Fitting simulink model with optimization toolbox?
I use a global variable for this and this works well. Define the tunable parameters in simulink as X array. X(1) is a gain in th...
presque 7 ans il y a | 0
Calculate gain and phase margin on simulink
This is interesting. Can you define a time response equivalent instead (second order response) and tweak your controller to get ...
presque 7 ans il y a | 0
Creation of a simulink block from a Mupad expression containing subscripts.
Use Mux block to get theta 1 ... N. You need so many inputs. The Mux will create the array for you. Take this as a single input ...
presque 7 ans il y a | 0
| A accepté
How to set flags in Simulink?
Is the problem correct? How can flag be 1 in the else condition? Can you provide the matlab code with proper indentations. Try a...
presque 7 ans il y a | 0
Simulation Time and Date
Try and make a simulink block with 6 outputs Year, Month, Day, hr min , sec. Divide the clock block output with the respective s...
presque 7 ans il y a | 0
Simulation Time and Date
Try and make a simulink block with 6 outputs Year, Month, Day, hr min , sec. Divide the clock block output with the respective s...
presque 7 ans il y a | 0
How to run ode15s function for several times
Try a simple Euler integration. Xd = f(a,b,c ...). x = Xd*dt+x; store the values of x in an array. See if this works.
presque 7 ans il y a | 0
I have an optimization problem where i need to minimize the Total_Cost. I have the equations in AMPL format and i need to convert it to MATLAB. Can anybody help and correct my answer?
sum1 = sum1 + tcn{i;j}; The ';' should be perhaps a ','. It is easier if you can represent as a matrix with [] square brackets. ...
presque 7 ans il y a | 0
Threshold / Crossing algorithm given a signal
You can use the find function and get the first index where the data crosses the threshold. Set all that data from current locat...
presque 7 ans il y a | 0
Iteration between GUI and Excel file
Try reading the excel file using xlsread, processing it in Matlab and use xlswrite to write back to excel file. The help is quit...
presque 7 ans il y a | 0
Files not showing up in 'current folder'
I am not sure if this is the right answer. I see a '-' in the name. Can you change it to an underscore '_' and check?
presque 7 ans il y a | 0
Having Trouble with While loop not renewing a value
A good idea would be to not use a while loop and give one or two data points as a check if all the steps are behaving as expecte...
presque 7 ans il y a | 1
| A accepté
Why am I not getting the table named SelectedTable as an output? How to rectify such errors in MATLAB?
Could you explain what you are trying to do?
presque 7 ans il y a | 0
How do I determine transfer function from input/output data?
If it was filter sort of thing the TF would be available as a X(k+1) = A x(k) + B u(k) form. This would make sense to derive in ...
presque 7 ans il y a | 0
problem using fminsearch, as parameters that I want to optimize is not input for the handle function
I am not sure how to do this. I have been using global in my function and optimizing using fminsearch (fmins before). It always ...
presque 7 ans il y a | 0
How to get a for loop to update its iterations on a variable that can change.
Looks like you have the data and you are doing post processing. Try not to use the for loop. Use the find for the complete array...
presque 7 ans il y a | 0
derivative block doesn't answer correctly.
You require a set of integrator. Your input is ddot(Y2ref) and dot(Y1ref). Use integrator in series to get ddot(Y2ref)->dot(Y2re...
presque 7 ans il y a | 0
I need help modeling a Temperature controller for a furnace with PID on Matlab and SIMULINK with several conditions
You can use a rate limiter with variable limits. Put a logic to check the output temperature of the plant and change the rate li...
presque 7 ans il y a | 0
| A accepté
Simulink: too many input arguments
Check the number of inputs to the mux block. Check their dimensions. If the inputs to the block are three from one port you may ...
environ 7 ans il y a | 0
| A accepté
Code to compare cells with a range in MATLAB
Never use Matlab like a C code interpreter. Matlab has elegant function that help you do data manipulation very easily. You can ...
environ 7 ans il y a | 0
how to write matlab code for following problem
*For the simulation* Make a large vector a multiple of 30 (why?). For the first set with probability of 50% make half the vecto...
environ 7 ans il y a | 0
how to optimize an input variable to a function to obtain a set point output variable?
Hi I am not sure I fully understand the question. What are IC1(), IC2() etc. They could be some complicated functions. You can ...
environ 7 ans il y a | 0
Hey,I have this huge data file and what i would like to do is , use strfind to match the string and capture the data followed by this string(no problem).my problem is that i have same string twice..how can i write a code to take first match first?
A={'**edge' '1 2 2' '4 5 6' '*edge' '-1 1 1 -8 9 10' '*edge' '2 8 9' '3 5 6' } a=strfind(A,'edge')...
presque 8 ans il y a | 0