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

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

9 days 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'); ...

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

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

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

14 days 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'...

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

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

22 days 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(...

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

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

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

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

29 days 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') ...

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

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

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

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

1 month ago | 2 answers | 0

Question

Removing zeroes from 3d matrrix

Hi, I want to remove the zeros from a 3D matrix and bring the non zeroes values upwards. I am attaching the picture which will ...

1 month ago | 2 answers | 0

Question

Deleting Rows of a Matrix

Hello, I have a 1D matrix or an array, I have attached files. I have to delete its rows, such that starting from 4 till 6,...

1 month ago | 2 answers | 0

Question

Calculating EigenVectors from Mode Shapes

Hello, I want to plot eigen vectors and mode shapes of a Timoschenko beam. I already have solved the system using finite elemen...

1 month ago | 1 answer | 0

Question

Drawing circles on a x axis

Hello, I have some data of points. I have x values of them. The y of all of them is 0 I want to draw those points as circles o...

2 months ago | 1 answer | 0

Question

Error when uploading Cell Array to UI Table in GUI

Hello, I am making a GUI without the GUIDE, I have this data file, I cannot upload it into the table using a push button This...

2 months ago | 1 answer | 0

Question

Removing Struct from Cell Array

Hello, I use the following code to load files from the folder [files,pathToFiles] = uigetfile('*.mat',... 'Select One or M...

2 months ago | 1 answer | 0

Question

Adding number to an array

Hello I have an array r1 = [0.1 0.2 0.3 0.4 0.6 0.7 0.8 0.9]. I want to insert the variable c into this array. c =1 So at t...

2 months ago | 1 answer | 0

Question

Sum of all columns in a 3D cell array

Hello, I have a cell array by the name phi_z = {301x51x3} I want to take a sum of all its columns in a single slice, so it wo...

2 months ago | 1 answer | 0

Answered

Taking user input from table in GUI

I solved it. function AssemblyEdit_Callback4(source, eventdata, handles) Boundary_Position=...

Taking user input from table in GUI

I solved it. function AssemblyEdit_Callback4(source, eventdata, handles) Boundary_Position=...

2 months ago | 0

| accepted

Question

Taking user input from table in GUI

Hello, Sorry for the long post. I have this GUI, I am working on in this gui. I have this table I made this table using thes...

2 months ago | 1 answer | 0