Statistics
RANK
2.108
of 295.467
REPUTATION
30
CONTRIBUTIONS
0 Questions
28 Answers
ANSWER ACCEPTANCE
0.00%
VOTES RECEIVED
2
RANK
1.544 of 20.234
REPUTATION
1.205
AVERAGE RATING
4.70
CONTRIBUTIONS
16 Files
DOWNLOADS
38
ALL TIME DOWNLOADS
10782
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF 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...
bijna 6 jaar ago | 0
Aerospace and Flight Controls
https://in.mathworks.com/matlabcentral/answers/25688-modelling-and-simulation-of-a-flight-control-system This was answered long...
bijna 6 jaar ago | 0
| accepted
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...
bijna 6 jaar ago | 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...
bijna 6 jaar ago | 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...
bijna 6 jaar ago | 1
| accepted
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...
ongeveer 7 jaar ago | 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 ...
ongeveer 7 jaar ago | 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 ...
ongeveer 7 jaar ago | 0
| accepted
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...
ongeveer 7 jaar ago | 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...
ongeveer 7 jaar ago | 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...
ongeveer 7 jaar ago | 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.
ongeveer 7 jaar ago | 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. ...
ongeveer 7 jaar ago | 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...
ongeveer 7 jaar ago | 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...
ongeveer 7 jaar ago | 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?
ongeveer 7 jaar ago | 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...
ongeveer 7 jaar ago | 1
| accepted
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?
ongeveer 7 jaar ago | 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 ...
ongeveer 7 jaar ago | 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 ...
ongeveer 7 jaar ago | 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...
ongeveer 7 jaar ago | 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...
ongeveer 7 jaar ago | 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...
ongeveer 7 jaar ago | 0
| accepted
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 ...
ongeveer 7 jaar ago | 0
| accepted
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 ...
ongeveer 7 jaar ago | 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...
ongeveer 7 jaar ago | 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 ...
ongeveer 7 jaar ago | 0
Submitted
A Three by Three Puzzle
Solve the 3x3 puzzle using Design Verifier
ongeveer 7 jaar ago | 2 downloads |
Submitted
The Schiaparelli Analysis
This is a simple analysis of the Schiaparelli failure using formal methods
ongeveer 7 jaar ago | 4 downloads |
Submitted
Formally Correct Control Elemental Blocks
This has a set of blocks which are formally correct in functionality
meer dan 7 jaar ago | 5 downloads |