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

mer än ett år 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 ...

mer än ett år 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') ...

mer än ett år 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 ...

mer än ett år 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...

mer än ett år 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...

mer än ett år 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...

mer än ett år 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 ...

mer än ett år 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,...

mer än ett år 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...

mer än ett år 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...

mer än ett år 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...

mer än ett år 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...

mer än ett år 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...

mer än ett år 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...

mer än ett år 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=...

mer än ett år 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...

mer än ett år ago | 1 answer | 0

Question

EigenValues of a Vibrating system

Hello, I have to do a vibration analysis of a beam, but first I am calculating the eigen values of it using the formula eigs(A...

nästan 2 år ago | 1 answer | 0

Question

size of matrices in a struct

Hello I have this struct I want to make a loop to add all the sizes of matrices inside it automatically, or is there any mo...

nästan 2 år ago | 3 answers | 0

Answered

Mirror Rectangles/Polygons in a Figure/Plot function

I solved it drawingfunction(BodyData); function [] = drawingfunction(BodyData) figure('Name','BodyView'); hold on for i =1...

Mirror Rectangles/Polygons in a Figure/Plot function

I solved it drawingfunction(BodyData); function [] = drawingfunction(BodyData) figure('Name','BodyView'); hold on for i =1...

nästan 2 år ago | 0

| accepted

Question

Mirror Rectangles/Polygons in a Figure/Plot function

hello, I have this data I am using the following code to draw the rectangles from the data, the first column is the length a...

nästan 2 år ago | 1 answer | 0

Question

Drawing Rectangles/Polygons shapes with data

Hello, I have this data the first column is the start and end points of the rectangle and the height of the rectangle is the...

nästan 2 år ago | 1 answer | 0

Question

Find/Match index of variable from an array

Hi, I have this code which I am using to find index of variable a from an array b a = 2; b =[ 1 2 3 4 5 6 7 8 9 10]; for i = ...

nästan 2 år ago | 1 answer | 0

Question

Drawing cross sectional views of a body using .mat file

hello, I have this data of a cylinder The first column is the length of each section in meters starting f...

nästan 2 år ago | 1 answer | 0

Question

Changing dimensions of a cell array

Hey guys, I have a cell array called "MD", attaching picture it is a 1x2 cell, I want to make it 2x1 cell array, because th...

nästan 2 år ago | 1 answer | 0

Question

Drawing Polygon shapes with data

Hello, I have such data, The code which I am using to plot it is this k = size(out,2); % k =1 since there is only one file...

nästan 2 år ago | 2 answers | 0

Question

Loading files from the folder

Hello, I have this code which allows the user to select any folder on the computer and then loads all the .mat files to the di...

nästan 2 år ago | 1 answer | 0

Question

Making GUI on Matlab

Hello, Does anyone here has experience making GUIs on matlab using code and not by using App designer app?

nästan 2 år ago | 1 answer | 0

Question

Drawing Rectangle/Lines with data

Hello, I have this matrix, The first column is the base of the rectangle, starting from 0 till 0.15 and the second column is...

nästan 2 år ago | 1 answer | 0