photo

Gayatri


Last seen: 11 giorni fa Attivo dal 2024

Followers: 0   Following: 0

Statistica

  • Knowledgeable Level 3
  • 3 Month Streak
  • First Answer

Visualizza badge

Feeds

Visto da

Risposto
How to apply Cross validation while using treeBagger
Hi Vedant, You can apply cross-validation to TreeBagger using the 'crossval' function. You can create a function for training ...

14 giorni fa | 0

Risposto
Accumulate and store vecotr at the end of simulation
Hi Priya, You can use the 'To Workspace' block as follows: Connect the output of the MATLAB Function block to a 'To Workspace'...

14 giorni fa | 0

| accettato

Risposto
button unresponsive while running loop
Hi Rohit, You can use 'drawnow' or one of its functional equivalents, such as 'pause(0)' inside of the while loop when it is ru...

16 giorni fa | 0

Risposto
is there any way to append multiple json files into single files
Hi Anuj, You can use below script to append multiple JSON files into single file. %Read contents of File 1 st1 = fileread('la...

16 giorni fa | 1

| accettato

Risposto
Transparency issue while adding secondary block
Hi Kamal, You can use 'parfeval' to avoid the transparency violation error. Here is an example: 1. Define a function to create...

17 giorni fa | 0

Risposto
How to build secondary bus along with primary
Hi Sahaj, You can connect the output of the Primary Bus along with the additional signals to the input of the Secondary Bus. U...

17 giorni fa | 0

Risposto
How do i find eigen vector corresponding to imaginery eigen value
Hi Lokesh, You can use 'imag' function to find the eigenvectors that correspond specifically to purely imaginary eigenvalues. ...

17 giorni fa | 0

| accettato

Risposto
issue while setting mask parameter
Hi Anuj, To modify mask parameter values, use the 'Simulink.Mask' class. % Get the Mask of the Subsystem maskObj = Simulink....

23 giorni fa | 0

Risposto
I am facing an issue while combining two stl.
Hi Vijay, Below is a MATLAB script that demonstrates how to combine two STL into one single geometry: % Read the STL files s...

24 giorni fa | 0

Risposto
FMU issue while setting parameter
Hi Saurabh, You can modify the parameters using the following MATLAB commands: blockPath = 'model_name/block_name'; blockHan...

25 giorni fa | 0

| accettato

Risposto
Error in Simulink Code
Hi Anuj, Execute the following command in the MATLAB Command Window to rehash the toolbox cache: rehash toolboxcache If it st...

3 mesi fa | 0

| accettato

Risposto
In Matlab 2022b, how to import from guide to app designer
Hi Saurabh, To import the content from GUIDE to App Designer in MATLAB R2022b, MATLAB provides a tool called "GUIDE to App Desi...

3 mesi fa | 0

| accettato

Risposto
Relative/ Absolute path in Baseline Text
Hi Saurabh, One way to handle this is by leveraging the ‘preLoadFcn’ property of your test cases. 1. Create a Preload Functio...

4 mesi fa | 0

| accettato

Risposto
Is it possible to use the simulink model as a function in matlab?
Hi Marina, Yes, it is possible to call a Simulink model from within a MATLAB function. Here’s a step-by-step guide on how to do...

4 mesi fa | 0

Risposto
dicomreadVolume 'Directory was not readable' error
Hi Hayley, Here are steps to load the files correctly: Ensure that the zip file is properly unzipped into a directory that MAT...

4 mesi fa | 0

Risposto
Python Matlab integration error - Error using numpy_ops>init thinc.backends.numpy_ops
Hi Saswati, The error message you are encountering arises due to a mismatch between the version of numpy expected by one of the...

5 mesi fa | 0

| accettato

Risposto
What are the factors to be considered while choosing one among the multi-objective optimization solvers - paretosearch() and gamultiobj()?
Hi Dhanesh, When deciding between 'paretosearch' and 'gamultiobj' for solving multi-objective optimization problems, consider t...

7 mesi fa | 0

| accettato

Risposto
Designing Coffee vending Machine using Simulink MATLAB
Hi Maryam, You can refer the below documentation for Modelling a Vending Machine by Using Mealy Semantics: https://www.mathwor...

7 mesi fa | 0

Risposto
`matlab.git.GitRepository` not existing in Matlab
Hi Chandler, The matlab.git.GitRepository object is designed to represent the currently active local Git repository. This funct...

7 mesi fa | 0

| accettato

Risposto
drive space exist and not able to save txt file
Hi Omnia, Here are several potential causes and troubleshooting steps you can take: Ensure you are correctly closing file hand...

7 mesi fa | 0

Risposto
Error using fft on code
Hi Matthew, When you load a MAT file using "load" function, assign it to a variable. Data inside the structure can be accessed ...

7 mesi fa | 0

Risposto
Specialized Power Systems Multimeter Block
Hi Zbigniew, Here are few steps to extract numerical results from the phasor analysis of the multimeter block: Use the Simula...

7 mesi fa | 0

| accettato

Risposto
How to write this block diagram into Matlab in feed forward control form.
Hi Jake, You have correctly defined the individual motors (G1, G2, G3, G4) as identical with the given transfer function. You ...

7 mesi fa | 0

Risposto
error using parallel pool (parpool)
Hi Roee, The error message related to Failed to locate and destroy old interactive jobs and Unknown type: concurrentconcurrent ...

7 mesi fa | 0

Risposto
Hi, I tried to divide my file into 2 parallel file: a main file and a function file. Can somebody help me with this?
Hi Phat, To divide your script into two parts : a main file and a function file, create a main script that handles user input a...

8 mesi fa | 0

Risposto
When would dotListLength as part of matlab.mixin.indexing.RedefinesDot return something other than 1?
Hi Cole, "dotListLength" is specifically for handling index operations and determining the length of these operations. It's not...

8 mesi fa | 0

Risposto
plotting data with different dimension in a 2d line plot
Hi Stefi, To plot data where the x-axis values are scalars and the y-axis data consists of an array with a different dimension,...

8 mesi fa | 0

Risposto
creating a code to upload and read tif images
Hi Mario, To handle a series of TIF images in MATLAB, write a script that can iterate through all the TIF files in a given dire...

8 mesi fa | 0

Risposto
Non linear optimisation using solver based approach
Hi Bibhudatta, Given the optimization problem and the MATLAB script, it appears that you have encountered a common issue in num...

8 mesi fa | 0

| accettato

Risposto
meaning of "Scale" column in design variable set in Response Optimizer tool
Hi Nassar, The 'Scale' column specifies the scaling factor for each design variable. This is used to normalize the design vari...

8 mesi fa | 0

| accettato

Carica altro