已回答
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...

2 months 前 | 0

已回答
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...

2 months 前 | 0

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

2 months 前 | 0

已回答
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...

2 months 前 | 0

已回答
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 ...

2 months 前 | 0

已回答
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...

2 months 前 | 0

已回答
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...

2 months 前 | 0

已回答
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...

2 months 前 | 0

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

2 months 前 | 0

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

2 months 前 | 0

已回答
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...

2 months 前 | 0

已回答
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...

2 months 前 | 0

已回答
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...

2 months 前 | 0

已回答
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...

2 months 前 | 0

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

2 months 前 | 0

已回答
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...

2 months 前 | 0

已回答
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...

2 months 前 | 0

已回答
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...

2 months 前 | 0

已回答
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...

2 months 前 | 0

已回答
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 months 前 | 0

已回答
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 months 前 | 0

已回答
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 months 前 | 0

已回答
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 months 前 | 0

已回答
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 months 前 | 0

已回答
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 months 前 | 0

已回答
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 months 前 | 0

已回答
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 months 前 | 0

已回答
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 months 前 | 0

已回答
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 months 前 | 0

已回答
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 months 前 | 0

加载更多