Aniruddha Katre
MathWorks
Followers: 0 Following: 0
In my spare time, I like to play tennis, read books, go hiking and do some landscape photography.
Professional Interests: System Identification, Control Systems, Navigation, MATLAB, Signal Processing
Statistica
RANK
533
of 295.735
REPUTAZIONE
144
CONTRIBUTI
0 Domande
27 Risposte
ACCETTAZIONE DELLE RISPOSTE
0.00%
VOTI RICEVUTI
42
CONTRIBUTI
0 Post
CONTRIBUTI
0 Pubblico Canali
VALUTAZIONE MEDIA
CONTRIBUTI
0 Punti principali
NUMERO MEDIO DI LIKE
Feeds
how do you display the current workspace name
One option is to save the variables currently in your workspace to a MAT-file with a different name than the one you loaded into...
circa 7 anni fa | 0
Executing Stopfcn model callback
This doc page has some information: <http://www.mathworks.com/help/simulink/ug/model-callbacks.html> See the section called *...
oltre 7 anni fa | 0
| accettato
How to load a .m-File into a Simulink block 'MATLAB Function'?
The parameters you load into the MATLAB workspace are not visible in the MATLAB Function block because they are not set as param...
oltre 7 anni fa | 0
How to sum value in rows from the previous rows
If the data is stored in a cell array as shown in your image, then: cumsum(cell2mat(B)) here B is the cell array of data...
oltre 7 anni fa | 0
| accettato
Improvements for rapid Simscape changes with discrete valves
The speed of simulation depends on your solver choice of both the global solver and the local solver for the physical networks i...
oltre 7 anni fa | 0
Sorted Execution Order, Initial Conditions, PID
In this case, the value of *e* is 20 at the initial time step because of the sorted execution order and the fact that you are us...
oltre 7 anni fa | 0
How can I import a model to simulink that was exported by save_system(sys, 'exported_file_name.xml', 'ExportToXML', true)?
It is currently not possible to regenerate a generic Simulink model from an XML file. XML import to Simulink is only possible if...
oltre 7 anni fa | 0
| accettato
Sum of certain value in a matrix
See the documentation for nnz: <http://www.mathworks.com/help/matlab/ref/nnz.html>
oltre 7 anni fa | 0
How can I use a filter in a parfor with the more numerically stable z,p,k?
Modifying the parfor loop as follows seems to resolve the error. The filter object was causing the error to occur for some reaso...
oltre 7 anni fa | 1
| accettato
why do i not have simulink property inspector
The property inspector was introduced in R2016b release of MATLAB. The documentation examples you are following are probably fro...
oltre 7 anni fa | 0
"T.Properties.VariableNames" will not allow me to include parentheses () or brackets [ ] in my column heading
You get this error message because 'x[n] (V)' is not a valid MATLAB variable name. The columns in a table are actually MATLAB va...
oltre 7 anni fa | 1
| accettato
Output argument 't' is not assigned on some execution paths.
Here, the variable t is an output from the MATLAB Function block. It needs to have a value at each time step of the simulation. ...
oltre 7 anni fa | 17
| accettato
export final point of Simulink signal to Workspace ?
You can connect the To Workspace block to the signal you want to log. In the block parameters, set the "Limit data points to las...
oltre 7 anni fa | 4
| accettato
Code for connecting two Simscape blocks
This did not work because Line Handles gives you handles to lines that exist. If you look at the struct A, it has the values "-1...
oltre 7 anni fa | 1
Invalid Simulink object name
From what I looked at, the delete_line function deletes lines connected to "input ports" and "output ports" of blocks. You can s...
oltre 7 anni fa | 1
| accettato
How to play with the Simulink Solver Parameters to reduce the Sampling Frequency?
If you have algebraic loops in the model that are causing these issues, playing with the solver step size is not the best way to...
oltre 7 anni fa | 0
How to use savefig to save .fig to a specific location?
You can just pre-pend the path to the filename. For example, savefig('C:\Test\test.fig')
oltre 7 anni fa | 2
| accettato
How to get a tilted slice in 3-D data?
See the section about *slicing at arbitrary angles* of the documentation page for the slice function. <https://www.mathworks....
quasi 8 anni fa | 0
| accettato
Linear fit to data
You are on the right track. You can use polyfit to fit a trend line to the data. The output of polyfit is a vector of coefficien...
quasi 8 anni fa | 9
Divide 73x400 matrix into 73 1x400 matrices
See the following discussion: http://www.mathworks.com/matlabcentral/newsreader/view_thread/297933
circa 9 anni fa | 0
| accettato
Describing Multiple Cubes using a Single Struct
You can create struct arrays to store the same type of data for multiple cubes. For example, you can store the faces and ver...
circa 10 anni fa | 0
curve fitting tool equation
There should be a panel called "Results" in the cftool window. This panel shows the equation as well as the coefficients (with 9...
oltre 10 anni fa | 2
Axis labels in root locus
The plot generated by "rlocus" has two sets of axes, one hidden and one visible. The labels that you see are linked to the hidde...
oltre 10 anni fa | 2
| accettato
draw two 3D curve but can't hold them in one figure
The reason why the second plot does not show up is because the variables "X" and "Z" are both scalars while "Y" is a vector. You...
oltre 10 anni fa | 0
How can I define my own colororder for a bodeplot?
The function "bodeplot" defaults to colors specified in MATLAB. If you try to set a color order when using the "hold on" command...
oltre 10 anni fa | 2
| accettato
exporting listbox to excel while adding spaces in between variable names
Your idea of using a loop to insert spaces should work. Note that "Variable_Name" will contain a cell array. So to insert a blan...
oltre 10 anni fa | 0
| accettato
How to insert correlation co-efficient matrix between variables following normal distribution in matlab?
It seems like you want to generate two normally distributed random variables with correlation of 0.9. You can use the function "...
oltre 10 anni fa | 0
| accettato