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

4 years ago | 2 answers | 0

2

answers

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

4 years ago | 2 answers | 0

2

answers

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

4 years ago | 1 answer | 0

1

answer

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

4 years ago | 1 answer | 0

1

answer

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

4 years ago | 1 answer | 0

1

answer

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

4 years ago | 1 answer | 0

1

answer

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

4 years ago | 1 answer | 0

1

answer

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

4 years ago | 1 answer | 0

1

answer

Answered
Taking user input from table in GUI
I solved it. function AssemblyEdit_Callback4(source, eventdata, handles) Boundary_Position=...

4 years ago | 1

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

4 years ago | 1 answer | 0

1

answer

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

4 years ago | 1 answer | 0

1

answer

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

4 years ago | 3 answers | 0

3

answers

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

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

4 years ago | 1 answer | 0

1

answer

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

4 years ago | 1 answer | 0

1

answer

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

4 years ago | 1 answer | 0

1

answer

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

4 years ago | 1 answer | 0

1

answer

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

4 years ago | 1 answer | 0

1

answer

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

4 years ago | 2 answers | 0

2

answers

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

4 years ago | 1 answer | 0

1

answer

Question


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

4 years ago | 1 answer | 0

1

answer

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

4 years ago | 1 answer | 0

1

answer

Question


Dot indexing is not supported for variables of this type Error
Hello, I am trying to run this loop in a function for i = 1:1:size(GlobalMeshonBody_1,1) nE =size(GlobalMeshonBody_1(i).Indiv...

4 years ago | 1 answer | 0

1

answer

Question


Converting cell array to struct
Hello, I am trying to convert a cell array "zq" shown below: into a struct, with this code: fields_1 = {'individualStiffne...

4 years ago | 1 answer | 0

1

answer

Question


finding elements in array
I have an array vk = [0 0.025 0.05 0.075 0.1 0.125 0.15 0.175]. I am writing this line op= vk(vk>= 0.05 & vk<= 0.175) ...

4 years ago | 1 answer | 0

1

answer

Question


Merging Arrays in a Struct and Sorting them
Hello, I have a struct like this: I want to join its two arrays into one array and then sort them in ascending order, I am tr...

4 years ago | 2 answers | 0

2

answers

Answered
Finding Values in a file
X = find (0.0751 > model_data( :,1)); Y = find (0.0751 <model_data( :,1)); I kind of got the answer, we get two variables and ...

4 years ago | 0

Question


Finding Values in a file
Hello, I have a file named as " model_data". In the first column, there are different values from 0 to 0.1216. I want to dev...

4 years ago | 1 answer | 0

1

answer

Question


Merging Arrays in Ascending Order
Hello, I am new to matlab. I have this problem. I have to merge two or more arrays into a new array in ascending order for examp...

4 years ago | 1 answer | 0

1

answer

Question


Non Uniform Meshing in 1D Fem
Hello, I am developing a 1D fem problem, I know how to create a uniform mesh, but does any one know how to create a non uniform ...

4 years ago | 0 answers | 0

0

answers

Load more