photo

Mrinal Anand


Last seen: plus d'un an il y a Actif depuis 2023

Followers: 0   Following: 0

Statistiques

  • Knowledgeable Level 2
  • First Answer

Afficher les badges

Feeds

Afficher par

Réponse apportée
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...

plus d'un an il y a | 0

Réponse apportée
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...

plus d'un an il y a | 0

Réponse apportée
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...

plus d'un an il y a | 0

Réponse apportée
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...

plus d'un an il y a | 0

Réponse apportée
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...

plus d'un an il y a | 0

Réponse apportée
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...

plus d'un an il y a | 0

Réponse apportée
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...

plus d'un an il y a | 1

Réponse apportée
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...

plus d'un an il y a | 1

| A accepté

Réponse apportée
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 ...

plus d'un an il y a | 0

Réponse apportée
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...

plus d'un an il y a | 0

Réponse apportée
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 ...

plus d'un an il y a | 0

Réponse apportée
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...

plus d'un an il y a | 0

| A accepté

Réponse apportée
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...

plus d'un an il y a | 1

| A accepté

Réponse apportée
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) ...

plus d'un an il y a | 0

Réponse apportée
Vertical gauge in Simulink
The Vertical Gauge does not support multiple signals, but you can use a Multi-Port Switch block with multiple input signals to s...

plus d'un an il y a | 0

| A accepté