photo

Mrinal Anand


Last seen: más de 1 año hace Con actividad desde 2023

Followers: 0   Following: 0

Estadística

  • Knowledgeable Level 2
  • First Answer

Ver insignias

Feeds

Ver por

Respondida
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...

más de 1 año hace | 0

Respondida
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...

más de 1 año hace | 0

Respondida
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...

más de 1 año hace | 0

Respondida
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...

más de 1 año hace | 0

Respondida
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...

más de 1 año hace | 0

Respondida
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...

más de 1 año hace | 0

Respondida
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...

más de 1 año hace | 1

Respondida
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...

más de 1 año hace | 1

| aceptada

Respondida
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 ...

más de 1 año hace | 0

Respondida
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...

más de 1 año hace | 0

Respondida
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 ...

más de 1 año hace | 0

Respondida
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...

más de 1 año hace | 0

| aceptada

Respondida
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...

más de 1 año hace | 1

| aceptada

Respondida
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) ...

más de 1 año hace | 0

Respondida
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...

más de 1 año hace | 0

| aceptada