Beantwortet
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...

etwa 4 Jahre vor | 0

Beantwortet
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(...

etwa 4 Jahre vor | 0

Beantwortet
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...

etwa 4 Jahre vor | 0

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

etwa 4 Jahre vor | 0

Beantwortet
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...

etwa 4 Jahre vor | 0

Beantwortet
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...

etwa 4 Jahre vor | 0

Beantwortet
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...

etwa 4 Jahre vor | 0

Beantwortet
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...

etwa 4 Jahre vor | 0

Beantwortet
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...

etwa 4 Jahre vor | 0

Beantwortet
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...

etwa 4 Jahre vor | 0

Beantwortet
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 ...

etwa 4 Jahre vor | 0

Beantwortet
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...

etwa 4 Jahre vor | 0

| akzeptiert

Beantwortet
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...

etwa 4 Jahre vor | 1

| akzeptiert

Beantwortet
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...

etwa 4 Jahre vor | 0

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

etwa 4 Jahre vor | 0

Beantwortet
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...

etwa 4 Jahre vor | 1

| akzeptiert

Beantwortet
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 ...

mehr als 4 Jahre vor | 0

Beantwortet
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...

mehr als 4 Jahre vor | 0

Beantwortet
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()’...

mehr als 4 Jahre vor | 0

| akzeptiert

Beantwortet
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...

mehr als 4 Jahre vor | 0

| akzeptiert

Beantwortet
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...

mehr als 4 Jahre vor | 0

Beantwortet
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...

mehr als 4 Jahre vor | 0

Beantwortet
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...

mehr als 4 Jahre vor | 1

Beantwortet
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...

mehr als 4 Jahre vor | 0

Beantwortet
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...

mehr als 4 Jahre vor | 0

Beantwortet
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;...

mehr als 4 Jahre vor | 0

Beantwortet
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...

mehr als 4 Jahre vor | 0

Beantwortet
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...

mehr als 4 Jahre vor | 0