# Mrinal Anand

Last seen: 12 mesi fa Attivo dal 2023

Followers: 0   Following: 0

#### Feeds

Visto da

Risposto
Create an Array of different Size Structs that have the same information
You can create a struct of structs and use loops to access the inner structs' fields. Here is an example using the code sample t...

12 mesi fa | 0

Risposto
Import values having different units in matlab
Matlab plotting functions assume that the plotting data is given in Cartesian coordinates by default. So you need to convert you...

12 mesi fa | 0

Risposto
How to concatenate vectors indexed with a for loop?
As per my understanding you want your above code to run in a loop with "trialNum" ranging from 1 to the desired number of iterat...

12 mesi fa | 0

Risposto
Getting recent files in Matlab
You can check your computer's recycle bin or trash folder to see if the files were accidentally deleted and are recoverable from...

12 mesi fa | 0

Risposto
how to connect existing matlab code (.m) file with app designer in matlab?
As Rik mentioned, you can simply call functions from .m files in the App Designer callbacks/functions. Ensure that the App Desig...

12 mesi fa | 0

Risposto
how can i combine 3 dimensional data and use pca function?
You can try changing the range of longitudes in the m_proj function to include a longer range of longitudinal values: m_proj('l...

12 mesi fa | 0

Risposto
I get complex numbers while using "acosd" function
You are getting a complex number because the acosd() function is only defined for values in the range of [-1, 1]. If the functio...

12 mesi fa | 1

Risposto
if condition in the case where char is empty
You can use the isempty() function in Matlab to accomplish your task: name = ''; % empty char variable if isempty(name) n...

12 mesi fa | 1

| accettato

Risposto
Index in position 1 is invalid. Array indices must be positive integers or logical values.
The error is because you have indexed t and y without initializing them as arrays: t(1)=0; y(1)=0; Your for loop required 25 ...

circa un anno fa | 0

Risposto
I can not find Model Linearizer under Control Systems
The Control Systems Add-on does not have Model Linearizer. It is a part of the Simulink Control Design Add-on. You can have a lo...

circa un anno fa | 0

Risposto
How can I model large automata?
You can use Stateflow Toolbox in Simulink to model the automata. However, modeling a large automata in MATLAB and Stateflow can ...

circa un anno fa | 0

Risposto
Does the Matlab 2023a support the NVIDIA RTX 4090-24G GPU device?
Yes, the 2023a version does support RTX 4090 GPU. You can have a look at the GPU Computing Requirements documentation to get mor...

circa un anno fa | 0

| accettato

Risposto
Why am I getting two different data arrays with the same set of data?
I tried running your sample testing script and it says the datasets have incompatible sizes. This could be because you are runni...

circa un anno fa | 1

| accettato

Risposto
Error in the program at startup
The error is because of the line: yy = f Since f is a function and you want to plot it f(xx), the line should be: yy = f(xx) ...

circa un anno fa | 0

Risposto