답변 있음
Check if (x,y) point is within 2d array of (x,y) entries. Where x is one column and y another
Hi, I would like to point out that to create a matrix of points (x,y) you can use complex number. For example, consider the ma...

대략 4년 전 | 0

답변 있음
I am trying to give an option (in row 15) of making sure you selected the right option. so, I wrote disp('if that correct type (1) if is not correct type(2) and it seem is not working. please help.
Hi, Use the code below to work out the issue you are facing. disp('0. Graphical') disp('1. Incremental Search') disp(...

대략 4년 전 | 0

답변 있음
How do I create a fit.m function to fit points from a graph to a function such as a line or curve?
Hi, I understand that you intend to create a function that is used for curve fitting purposes. However, MATLAB supports the ve...

대략 4년 전 | 0

답변 있음
T1 and T2 weighted MRI
Hi, T1 & T2 weighted MRI images are obtained using complex medical imaging techniques and generating such images from initial ...

대략 4년 전 | 0

답변 있음
How to use convolution on a 2d matrix with a kernel?
Hi, I have made some changes to the code provided by you, the remaining code remains same. The edited code will perform convol...

대략 4년 전 | 0

답변 있음
create an array with an output from a loop
Hi, Try out the code given below. I have mentioned appropriate comments to help you get through the code. % N is the loop...

대략 4년 전 | 0

답변 있음
Labeling JPEG Pictures and Saving to Dataset
Hi, It is advised to manually loop through each of the ‘.JPEG’ images in the folder and label them. Refer to the MATLAB cod...

대략 4년 전 | 0

답변 있음
Assign workspace variable during runtime
Hi, You may use the MATLAB Function Block available in Simulink. Double click on the scenario canvas and type ‘MATLAB Function...

대략 4년 전 | 0

답변 있음
Steinhart-Hart equation and a dataset
Hi, Based on your description of the issue, I would like to make some assumptions stated below: R = Column vector consisting...

대략 4년 전 | 0

답변 있음
How to directly create a non-random upper or lower triangle matrix without creating a full square matrix?
Hi, Consider the upper triangular matrix created below: A = [1 2 3 4; 0 5 6 7; 0 0 8 9; 0 0 0 10]; To create the mirror...

대략 4년 전 | 0

답변 있음
MRI scan slices- I need to resize the image so axes show pixels in mm
Hi, Consider the following points to find resolution of the issue you are facing. To select specific MRI scan slices out of ...

대략 4년 전 | 0

답변 있음
Is it possible to have an inline function inside a cell array to conditionally return an element to be stored?
Hi, The cell arrays in MATLAB are fundamental MATLAB classes/data types which have pre-defined definitions. The cell arrays do...

대략 4년 전 | 0

| 수락됨

답변 있음
How to save Simulink model without model workspace saved
Hi, I’m assuming you want to clear the model workspace once you close it. You can do so by: Go to model settings>model prope...

대략 4년 전 | 1

| 수락됨

답변 있음
How to fit data (2 variables) to get an equation?
Hi, Based on my understanding of description provided by you. I would like to point out that curve fitting is a process of find...

대략 4년 전 | 0

답변 있음
simscape example model on building ventilation
Hi, Refer the following MathWorks pages to better understand modelling a ventilation system is simscape. Building Ventilatio...

대략 4년 전 | 0

답변 있음
What is the parameter minimum performance gradient (trainParam.min_grad) of traingd?
Hi, Based on your description of the issue, I would state a few points: I agree that gradient descent is vector quantity & p...

대략 4년 전 | 1

| 수락됨

답변 있음
Degree of polynomial surface fitting (cftool - fit)
Hi, You can use the ‘polyfitn’ toolbox to serve your required purpose. The ‘polyfitn()’ function is able to accurately predict ...

대략 4년 전 | 0

답변 있음
Matlab Coder: Row Mayor Array Layout
Hi The Images in MATLAB are stored in a column major order. For additional Information on Images & Matrices in MATLAB, refer t...

대략 4년 전 | 0

답변 있음
no puedo encontrar el centroide del triangulo ayuda¡¡¡ ( polyshape/centroid/triangle)
Hi, As stated by Rik , try running the command which centroid -all ,if the compiler does not report the path of ‘centroid()’...

대략 4년 전 | 0

| 수락됨

답변 있음
Keeping Headers When Import Excel Then Running Code and Exporting
Hi, Based on my understanding of the issue you described. I would suggest a solution. Consider the points below. >> Z = rea...

대략 4년 전 | 0

| 수락됨

답변 있음
How to identify the beginning of another hour and choose 3 rows per hour depending on the value of another metric in another column?
Hi, Consider the code given below. Few assumptions that I have made while writing this code are: The readings are taken start...

대략 4년 전 | 0

답변 있음
How to set unlabeled values in matrix to zero
Assuming the name of the matrix variable as 'mat' To set unlabeled matrix values to 0, consider the pseudocode below: for i...

대략 4년 전 | 0

답변 있음
How do you calculate the difference in noise between two audio signals?
Hi, I am assuming that the original audio signal is named ‘org’ & the modified (through steganography) audio signal is named...

대략 4년 전 | 1

답변 있음
Computing Streamlines of Systems of 4+ Ordinary Differential Equations
Hi, MATLAB does not support N-dimensional analogue of streamlines or pathlines. Given that value of N is greater than 3. Howeve...

대략 4년 전 | 0

답변 있음
Identifying force coefficients of a linear system
Hi, While performing the inverse process to calculate ‘x’. Use the code below: >> x = inv(A)*f Or >> x = A^ (-1) Inste...

대략 4년 전 | 0

답변 있음
Error Reduction using a Preconditioner for Linear System Ax =b
Hi, I would suggest you use following preconditioner column vectors Pre_Conditioner = [1e-9;1e-9;1e-9;1e-9;1e-9;1e-9;...

대략 4년 전 | 0

답변 있음
How to increase gif quality or resolution in Matlab
Hi, GIF use a lossless compression. Therefore, you cannot change the "quality" of gifs. However, you can change the size of th...

대략 4년 전 | 0

답변 있음
problem using polyfitn with for loop and nchoosek
Hi mohamed, I assume that You are using the matrix ‘metriche’ as input data for the ‘polyfitn’ function. The vector ‘subj...

대략 4년 전 | 0