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

2 years 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...

2 years 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]; ...

2 years 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...

2 years 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...

2 years 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 ...

2 years 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...

2 years 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...

2 years 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...

2 years 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...

2 years 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 =...

2 years 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...

2 years 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'); ...

2 years 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...

2 years 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...

2 years 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...

2 years 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'...

2 years 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 ...

2 years 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...

2 years 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(...

2 years 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...

2 years 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...

2 years 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...

2 years ago | 1 answer | 0

Answered

Finding Frequency range from Time series

This works for me Fs = 1000; % Sampling frequency T = 1/Fs; % Sampling period ...

Finding Frequency range from Time series

This works for me Fs = 1000; % Sampling frequency T = 1/Fs; % Sampling period ...

2 years ago | 0

| accepted

Answered

Creating a Dynamic Table using push button in Matlab GUI

I found the answer: function CreateBoundary_Callback(source,eventdata) set(AssemblyTable5, 'visible', 'on') ...

Creating a Dynamic Table using push button in Matlab GUI

I found the answer: function CreateBoundary_Callback(source,eventdata) set(AssemblyTable5, 'visible', 'on') ...

2 years ago | 0

| accepted

Question

Creating a Dynamic Table using push button in Matlab GUI

Hello, I am creating a dynamic table using Matlab GUI, so far it is going good. I will atach my code: function EVRIM_GUI f ...

2 years ago | 1 answer | 0

Question

Finding Frequency range from Time series

Hello, I am trying to find the frequency range from the time range that I have made. I read the FFT documentation, but it is no...

2 years ago | 1 answer | 0

Question

Making a vector from a Number

Hello, I am taking input a number as a positive integer and want to make a vector from it. The vector would contain real number...

2 years ago | 1 answer | 0

Question

Matrix Array Reshaping by fixed columns

Hello, I have some matrices of 3x504 and 3x 3024 I want to reshape it to 6x252 and 15x252. The length of column should rema...

2 years ago | 2 answers | 0