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
Estadística
0 Preguntas
27 Respuestas
0 Problemas
43 Soluciones
CLASIFICACIÓN
536
of 296.389
REPUTACIÓN
144
CONTRIBUCIONES
0 Preguntas
27 Respuestas
ACEPTACIÓN DE RESPUESTAS
0.00%
VOTOS RECIBIDOS
42
CLASIFICACIÓN
of 20.401
REPUTACIÓN
N/A
EVALUACIÓN MEDIA
0.00
CONTRIBUCIONES
0 Archivos
DESCARGAS
0
ALL TIME DESCARGAS
0
CLASIFICACIÓN
11.881
of 156.270
CONTRIBUCIONES
0 Problemas
43 Soluciones
PUNTUACIÓN
440
NÚMERO DE INSIGNIAS
1
CONTRIBUCIONES
0 Publicaciones
CONTRIBUCIONES
0 Público Canales
EVALUACIÓN MEDIA
CONTRIBUCIONES
0 Temas destacados
MEDIA DE ME GUSTA
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...
más de 7 años hace | 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 *...
más de 7 años hace | 0
| aceptada
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...
más de 7 años hace | 0
Resuelto
Transpose
Write a MATLAB script in order to convert a random length row vector (v) into a column vector.
más de 7 años hace
Resuelto
Sum of diagonal of a square matrix
If x = [1 2 4; 3 4 5; 5 6 7] then y should be the sum of the diagonals of the matrix y = 1 + 4 + 7 = 12
más de 7 años hace
Resuelto
Remove the two elements next to NaN value
The aim is to *remove the two elements next to NaN values* inside a vector. For example: x = [6 10 5 8 9 NaN 23 9 7 3 21 ...
más de 7 años hace
Resuelto
Bottles of beer
Given an input number representing the number of bottles of beer on the wall, output how many are left if you take one down and ...
más de 7 años hace
Resuelto
Swap the input arguments
Write a two-input, two-output function that swaps its two input arguments. For example: [q,r] = swap(5,10) returns q = ...
más de 7 años hace
Resuelto
Which values occur exactly three times?
Return a list of all values (sorted smallest to largest) that appear exactly three times in the input vector x. So if x = [1 2...
más de 7 años hace
Resuelto
Cell joiner
You are given a cell array of strings and a string delimiter. You need to produce one string which is composed of each string fr...
más de 7 años hace
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...
más de 7 años hace | 0
| aceptada
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...
más de 7 años hace | 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...
más de 7 años hace | 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...
más de 7 años hace | 0
| aceptada
Sum of certain value in a matrix
See the documentation for nnz: <http://www.mathworks.com/help/matlab/ref/nnz.html>
más de 7 años hace | 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...
más de 7 años hace | 1
| aceptada
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...
más de 7 años hace | 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...
más de 7 años hace | 1
| aceptada
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. ...
casi 8 años hace | 17
| aceptada
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...
casi 8 años hace | 4
| aceptada
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...
casi 8 años hace | 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...
casi 8 años hace | 1
| aceptada
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...
casi 8 años hace | 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')
casi 8 años hace | 2
| aceptada
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....
casi 8 años hace | 0
| aceptada
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...
casi 8 años hace | 9
Resuelto
The Goldbach Conjecture
The <http://en.wikipedia.org/wiki/Goldbach's_conjecture Goldbach conjecture> asserts that every even integer greater than 2 can ...
casi 9 años hace
Resuelto
How to find the position of an element in a vector without using the find function
Write a function posX=findPosition(x,y) where x is a vector and y is the number that you are searching for. Examples: fin...
casi 9 años hace
Resuelto
The Hitchhiker's Guide to MATLAB
Output logical "true" if the input is the answer to life, the universe and everything. Otherwise, output logical "false".
casi 9 años hace