Domanda


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

quasi 4 anni fa | 2 risposte | 0

2

risposte

Domanda


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

quasi 4 anni fa | 2 risposte | 0

2

risposte

Domanda


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

quasi 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 4 anni fa | 1 risposta | 0

1

risposta

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

quasi 4 anni fa | 1

| accettato

Domanda


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

quasi 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 4 anni fa | 3 risposte | 0

3

risposte

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

circa 4 anni fa | 0

| accettato

Domanda


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

circa 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 4 anni fa | 2 risposte | 0

2

risposte

Domanda


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

circa 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 4 anni fa | 2 risposte | 0

2

risposte

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

oltre 4 anni fa | 0

Domanda


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

oltre 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 4 anni fa | 0 risposte | 0

0

risposte

Carica altro