Question

Removing low values from a matrix

Hi I have a small problem, I have a 134x10 matrix, which has some noise elemetns. I would like to remove them. As in the pict...

25 days ago | 1 answer | 0

Question

Increasing the figure size in GUI

Hello I have this gui which is static in size, as shown in pictures I use the following code to create this figure function...

1 month ago | 1 answer | 0

Question

Making a 1D array/vector from a table

Hello, I have this table or a 2D array I want to seperate the numbers from the first column which have zero values in the ...

1 month ago | 1 answer | 0

Question

Inserting Array into Another Array

Hello, I have three arrays as shown in the code below z = zeros(25,2); % main array y = rand(23,1); a = ones(25,1); x ...

1 month ago | 1 answer | 0

Question

Removing rows in a matrix

Hello, I have this matrix, called A matrix. I am attaching the file with the question. Also the picture of some of its data val...

4 months ago | 3 answers | 0

Question

double peaks in FFT matlab

Hello, I am trying to generate FFT with matlab code for the time based forces acting on a machine tool. The difference I am usi...

5 months ago | 1 answer | 0

Question

Frequency and Time Relation

Hello, I am trying to generate a frequency series using the FFT matlab algorithm. It is for a machine tool. Here is my code: ...

5 months ago | 1 answer | 0

Question

CurveFit on Vector Data Points

Hello, I have the following data vectors; b_reference are the independant values and Y are the dependant values. b_reference_1...

6 months ago | 2 answers | 0

Question

Making a Distribution from a range

Hello, I want to make a range of numbers such that these two vectors come in them. Y =[0.95;0.96;1.88;1.88;1.85;1.85;1.75;1.75...

6 months ago | 0 answers | 0

Question

Varying Random Number Generator between a Range

Hello, I am trying to vary a random number generator between a range of vectors, this is my code ub =[1;1;2;2;2;2;2;2;2;2]; ...

6 months ago | 1 answer | 0

Question

Error Reduction in Regression Model

Hello, I have this problem, where I have to estimate force coefficients. I have the time based forces, of which I take the FFT...

6 months ago | 0 answers | 0

Question

Making combinations using random number generators

Hello, I have this vector x0 = [1;88;88;2;2;2;2;2;-88;2] Right now I change the values in this vector manually making combi...

6 months ago | 2 answers | 0

Question

Error Reduction using a Preconditioner for Linear System Ax =b

Hello, I am trying to solve the Ax =b for a non linear system, my A matrix is 10x4 complex double and b matrix is 10x1 double ...

6 months ago | 1 answer | 0

Question

Stacking Matrices One after Another to make a final matrix

Hello, I have different matrices( each matrix has size of 2x4 ) stored in a file as a cell array, I am adding them together wi...

6 months ago | 1 answer | 0

Question

Adding Two Arrays Alternatively to make Third Array

Hello, I have two arrays, called "Force X Values" and "Force Y values". I am attaching the files and their pictures respectivel...

6 months ago | 2 answers | 0

Question

Identifying force coefficients of a linear system

Hello I have to develop an algorithim to identify the correct force coefficients of a cutting process. Cutting forces are gene...

6 months ago | 1 answer | 0

Question

Double the values of an 2D array

Hello, I have a 2D array called Numerical_3, I want to double the values of its rows, except the first row. I have attached the...

7 months ago | 1 answer | 0

Question

Sum of elements in cell array

Hi, I have this cell array One of its rows, look like this I am using this code to sum the columns of each cell Force =...

7 months ago | 2 answers | 0

Question

Indexing Error: Index in position 1 exceeds array bounds (must not exceed 1) in For loop

Hello, I am trying to add color to the rows in my UI Table in the GUI, but I am getting this error "Index in position 1 exceed...

7 months ago | 0 answers | 0

Answered

Removing and Adding Rows to UI Table in GUI

I found this answer function RemoveBoundary_Callback(source,eventdata) data = get(AssemblyTable5, 'data'); ...

Removing and Adding Rows to UI Table in GUI

I found this answer function RemoveBoundary_Callback(source,eventdata) data = get(AssemblyTable5, 'data'); ...

7 months ago | 0

| accepted

Question

Removing and Adding Rows to UI Table in GUI

Hello, I am trying to add and remove on my table in the GUI by using the following code: function AddBoundary_Callback(s...

7 months ago | 1 answer | 0

Question

Adding Color to Text in Rows in UI Table in GUI

Hello, I am trying to add color to text in the UI Table, here is my code. It starts by the user loading the files and then disp...

7 months ago | 2 answers | 0

Question

Programming a summation equation

Hello, I am trying to program this instance This is my Fourier_Force using this code: Z =3; r = 2; for j =1:1:size(Fo...

7 months ago | 1 answer | 0

Question

Save button in GUI Matlab

Hello, I am developing a GUI and to save the files, I am currently using this commad save('SystemMatrices.mat','Mass_Global'...

7 months ago | 1 answer | 0

Question

Error with Uniquetol: " Repetitive numbers not being removed"

Hi, I have this double array by the name " GlobalNMesh", I am attaching the file. It has some repetitive numbers, as shown ...

8 months ago | 2 answers | 0

Question

cell2mat Error :using cat Dimensions of arrays being concatenated are not consistent.

Hello, I have a cell array which is as follows: I am using P2 = cell2mat(Numerical_FourierForce{1,1}) and I get this erro...

8 months ago | 1 answer | 0

Question

Error in Integration of Cell Array

Hello, I am trying to perform integration on a cell array using the following code: r = 2; phi_e = 1.3694; for e =1:1:size(...

8 months ago | 1 answer | 0

Question

Error: Undefined function 'mtimes' for input arguments of type 'cell' -2

Hello, I am getting this error "Undefined function 'mtimes' for input arguments of type 'cell'. when I am trying to run this c...

8 months ago | 1 answer | 0

Question

Adding multiple rows of a cell array

Hello, I have a 5x1 cell array, in which each cell is a 6x64 double. For each cell, I want to add the rows in this style...

8 months ago | 2 answers | 0

Question

Taking Absolute value of a cell arrray

Hi I want to take an absolute value of a cell array, but I am getting this error "Unable to perform assignment because brace i...

8 months ago | 1 answer | 0