Respondida
how can i use the mayr block in matlab?
Hello CHO, The Mayr block is not a standard block available in the Simulink library. You will typically need to implement the M...

alrededor de 2 meses hace | 0

Respondida
evalfis with input data file in excel/txt format
Hello Muhammad, To evaluate your Mamdani Fuzzy Inference System (FIS) with a dataset stored in an Excel file, you can use MATLA...

alrededor de 2 meses hace | 0

Respondida
Fminsearch error: not enough input arguments.
Hello Giuliano, The error you are encountering, "Not enough input arguments," typically arises when MATLAB expects more inputs ...

alrededor de 2 meses hace | 0

Respondida
How do I increase the width of the connection "lines" between Simulink blocks for improved readability of the model
Hello David, In Simulink, it doesn't allow you to directly increase the thickness of the lines, there are several ways to impro...

alrededor de 2 meses hace | 0

Respondida
Can't change line style from plot browser in R2014b
Hello Elizabeth, The issue you are encountering with MATLAB R2014b likely stems from changes in the graphics system introduced ...

alrededor de 2 meses hace | 0

Respondida
Sorting data from text file
Hello Tyler, To solve this problem, you need to iterate through your data to find the lowest value, display it, and then find t...

alrededor de 2 meses hace | 0

Respondida
Pulling coefficients out of symbolic matrix to solve
Hello @B K, To automate the process of extracting coefficients and assembling them into a consistent matrix format, you can use...

alrededor de 2 meses hace | 0

Respondida
How to keep positions of node/element number labels consistent with various FE mesh resolution?
Hello @hmhuang, The figure you get with the parameters 100 and 50 is identical with the other one. Normally, the visual differ...

alrededor de 2 meses hace | 0

Respondida
system of 2 pdes
Hello Kostas, To solve a system of nonlinear parabolic partial differential equations (PDEs) like the one you described, you ca...

alrededor de 2 meses hace | 0

Respondida
Simulated Annealing for optimization
Hello Ana, To adapt your simulated annealing code from solving a backpack optimization problem to a task sequencing problem, yo...

alrededor de 2 meses hace | 0

Respondida
How can I plot a plane in a 3D space by using symbolic functions?
Hello Moein, To visualize a symbolic 3D function in MATLAB and plot its values on a defined plane, you can use symbolic math an...

alrededor de 2 meses hace | 0

Respondida
How to periodically change Simulink Output file name?
Hello Drew, You are encountering the error because changing the filename of the "To File" block during simulation in Simulink i...

alrededor de 2 meses hace | 0

Respondida
how to read a video in matlab?
Hello Vinay, The error suggests that MATLAB is unable to find the required file. You may check for the following to ensure thin...

alrededor de 2 meses hace | 0

Respondida
How to plot a function using gradient descent method?
Hello Bijoya, To plot functions in MATLAB using gradient descent, you need to follow a few steps. Gradient descent is an optimi...

alrededor de 2 meses hace | 0

Respondida
Slow performance using closures
Hello Lukas, The performance issue you are experiencing is likely due to the overhead associated with storing and accessing fun...

alrededor de 2 meses hace | 0

Respondida
Identify Grid Data Required during Intepolation
Hello Zach, To tackle the problem of identifying which grid points are queried during an n-D interpolation and potentially gene...

alrededor de 2 meses hace | 0

Respondida
Why is for-loop faster than range index?
Hello Konstantinos, The difference in performance between fun_A and fun_B can be attributed to how MATLAB handles array indexin...

alrededor de 2 meses hace | 0

Respondida
Pre-Allocate Space for a Cell Array
Hello Jessica, This error is occuring because of empty array initialization. Instead of initializing the cell arrays with empty...

alrededor de 2 meses hace | 0

Respondida
To improve results using GA toolbox
Hello Ravindra, For optimizing the result further in Genetic Algorithms, you can follow these steps: Try increasing the popula...

alrededor de 2 meses hace | 0

Respondida
hi..i am getting an error while using the "axis" function....the value that i gave was [0 255 0 1] ....0 to 255 are grey scale values of image on the x axis and 0 to 1 the cdf on the y axis....
Hello Vishwas, It looks like there might be a small syntax error in your use of the axis function. In MATLAB, the axis function...

3 meses hace | 0

Respondida
Undefined variable "dspdata" or class "dspdata.psd
Hello Jay, The reason behind this error is the unavailability of dspdata class in your MATLAB environment. This could be due to...

3 meses hace | 0

Respondida
Creating vertical temperature profile over complex terrain with animation
Hello Jamie, Creating animation of temperature data can be done by using the 3D contour plot. Here is a sample code for the sam...

3 meses hace | 0

Respondida
How to extract hyperspace of a n dimensions matrix
Hello Renaud, You can take the help of indexing cell array to perform extraction of hyperspace from a multi-dimensional matrix....

3 meses hace | 0

Respondida
What is wrong with my legend?
Hello @Stwiwi, The issue with the legend colors not matching the plotted lines in your MATLAB code could be due to the legend n...

3 meses hace | 0

Respondida
How to call VChooseK function?
Hello Ruini, You need to download vchoosek which can be found in MATLAB Central's File Exchange and then add it to MATLAB's pat...

3 meses hace | 0

Respondida
Eigenvalue and factor models: how to get the orthogonal matrix?
Hello Charles, You can use the eig function to get the orthogonal matrix in MATLAB. Here is a sample code for the same: % Samp...

3 meses hace | 0

Respondida
Multidimensional matrix multiplication elementwise
Hello @Raisul Islam, To perform an element-wise product between a 31x31 matrix and a 5139x31 matrix, you need to ensure that th...

3 meses hace | 0

Respondida
How to export CSV file from folder to MATLAB work space with their parent folder serial number ?
Hello Hari, While using dir command, the default sorting order is lexicographical order which results in the order 1, 10, 100, ...

3 meses hace | 0

Respondida
How do I show the following condition t>1 with help of for-loop?
Hello @Sergey Dukman, The code you have shared is indeed correct. It satisfies the condition t>1 while written in a for loop. A...

3 meses hace | 0

Respondida
error as input must be numeric
Hello @FIR, This error will occur when "month" is not numeric, since "hist" function expects a numeric argument. To resolve thi...

3 meses hace | 0

Cargar más