Frage


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

mehr als 4 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

mehr als 4 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

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

mehr als 4 Jahre vor | 1

| akzeptiert

Frage


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

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 4 Jahre vor | 3 Antworten | 0

3

Antworten

Beantwortet
Mirror Rectangles/Polygons in a Figure/Plot function
I solved it drawingfunction(BodyData); function [] = drawingfunction(BodyData) figure('Name','BodyView'); hold on for i =1...

mehr als 4 Jahre vor | 0

| akzeptiert

Frage


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

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 5 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

fast 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 5 Jahre vor | 2 Antworten | 0

2

Antworten

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

fast 5 Jahre vor | 0

Frage


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

fast 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 5 Jahre vor | 0 Antworten | 0

0

Antworten

Mehr laden