Risposto
How Do I Turn a Spirograph Into a Track?
Hello @Chase Reiter! I really liked the problem, where you want to modify the spirograph to roll inside a stadium shaped track....

4 mesi fa | 0

Risposto
why is my uqlab PCE output constant? (For pre-existing discrete data)
Hello @Avery, It appears that the issue is due to the discrete nature of the input variable (Xtrain), which doesn’t align with ...

4 mesi fa | 0

Risposto
Markov chain simulation code
Hello @saja mk, A Markov chain is a type of mathematical model that represents a system moving between different states, where ...

4 mesi fa | 0

Risposto
How to cumulatively subtract in a specific range
Hello @Benedikt Wessel! According to my understanding, you are simulating a battery storage system, where “differ” is the energ...

5 mesi fa | 0

Risposto
Help with implementing viscircles
Hello @Crazy duck, According to my understanding of your question, you want to visualize the trajectory (the circular paths) o...

5 mesi fa | 0

Risposto
Unit test retrieve failed indexes
Hello Luis, I hope you are having a wonderful day! Yes, I understand that you are using MATLAB’s Unit Test Framework and want ...

5 mesi fa | 0

Risposto
Unexpected Angle of Arrival Detection Result for Sonar Application
Hello Dat! I tried executing the code in the latest version of MATLAB (R2024b) and was unable to reproduce the error (I got a ...

5 mesi fa | 0

Risposto
Issues with running genetic algorithm (GA) in parallel computation
Hello Yi! The error you are seeing occurs when MATLAB's parallel workers are unable to access the fitness function file. This ...

5 mesi fa | 0

Risposto
plot many sphere with variant radii
Hello Amir MATLAB’s built-in “surf” function can be used to plot surfaces in three dimensions. I have included an example code...

5 mesi fa | 0

Risposto
Ideas on creating graph
Hello Sam, Yes, you can create a dynamic, continuous plot that simulates real-time data recording, in which you can control the...

6 mesi fa | 0

Risposto
Simulink convert datatype to array of bytes
Hello @Joe Holdsworth As far as I know, there is no dedicated Simulink block for directly converting a uint16 to an array of by...

6 mesi fa | 0

Risposto
Making a function to plot SVD
Hello @Larry Ellison! Using MATLAB for plotting singular vectors is a really good choice as MATLAB provides you with pre-implem...

6 mesi fa | 0

Risposto
how to change the Identifier of a MException
Hello Behzad! As far as I could get, you are asking three questions, let me address each of them one by one: We cannot modif...

6 mesi fa | 0

Risposto
vectorization of for loop
Hello Chabani, I am glad you came up with this question, as this unfolds a lot about optimizations which can be done in MATLAB....

7 mesi fa | 0

Risposto
how do i solve invalid data type error?
Hello Erkut, The issue you're encountering is because “conv()” function in MATLAB is intended for numerical arrays, not symboli...

7 mesi fa | 1

Risposto
too many input arguments error message
Hello Manojkumar, I see you are running into the "too many input arguments" error with the “adjacency()” function. I've encount...

7 mesi fa | 0

Risposto
How to get exact function's argument names?
Hello Grega! According to MathWorks documentation, “inputname()” in MATLAB cannot retrieve argument names when they are passed ...

7 mesi fa | 0

Risposto
MATLAB Compiler failed to access specific file
Hi Anne, Yes, you have rightly pointed out, the “ctfroot” function should be used here to get the correct path for the image. ...

7 mesi fa | 0

Risposto
how to calculate eigen vector, value using in pca??
Hello Pooja, for performing PCA it is recommended to convert the images into greyscale to reduce the dimensionality. Next, t...

7 mesi fa | 0

Risposto
vectorization and matlab functions for multiple for loops and conditionals within
Hello Ezgi, I understand that you are trying to find the tuple (i, j, k) such that all three nodes are unique and number of pa...

8 mesi fa | 0

Risposto
Incorrect dimensions for matrix multiplication.
The error indicates that the dimensions of the matrices are not consistent with respect to matrix multiplication. For more infor...

8 mesi fa | 0

Risposto
Determining index based on a condition
Hello Jessica, You need to create two answer vectors, one for storing the index of “Toe-off” moments, and other for “Heel-down”...

8 mesi fa | 0

Risposto
t-test in Matlab - no data!
Hi Seldeeno, Yes, you need to perform a "t-test" in MATLAB using summary statistics, using means, standard deviations, and sam...

8 mesi fa | 0

Risposto
can I apply CCA to thePCA features of two different images.
Hello! To find CCA (Canonical Correlation Analysis) using two PCA (Principal Component Analysis) features of two images, you n...

8 mesi fa | 0