Community Profile

photo

Samuel Thompson


Last seen: ongeveer 3 jaar ago Active since 2017

Statistics

  • Thankful Level 2
  • Thankful Level 1

View badges

Content Feed

View by

Answered
Convert array into column vector - by row rather than column
Managed to achieve this by taking the transpose of matrix a first, and then performing the same operation. b = a'; b(:)

bijna 6 jaar ago | 1

| accepted

Question


Convert array into column vector - by row rather than column
Consider the matrix a a = [1 2 3; 4 5 6; 7 8 9] I wish to obtain an output b: b = [1; 2; 3; 4; 5; 6; 7; 8; 9] a(:)...

bijna 6 jaar ago | 1 answer | 0

1

answer

Question


Delete rows from matrix that contain values that correspond to values from a separate variable vector
Hi, I wish to remove rows from a matrix *A* [n x 2] that contains any value from another vector *B* [1 x n] in its first col...

ongeveer 6 jaar ago | 1 answer | 0

1

answer

Question


App Designer: Format headings on uitable
The table below is a uitable created within App Designer that has been modified using the following code: app.UITable2.Colu...

ongeveer 6 jaar ago | 2 answers | 1

2

answers

Question


App Designer: Using function outputs as variables within other functions
I would like to store a variable as an output from a function in App Designer for use with other functions. Please see the simpl...

meer dan 6 jaar ago | 2 answers | 1

2

answers

Question


assign interpolated color bar value to plot
*Code Extract* My code plots the deflection of a cantilever beam. I wish to change the colour of the deflected shape to corre...

meer dan 6 jaar ago | 0 answers | 0

0

answers

Question


Adding a color bar to an existing plot.
My code generates the figure below; I wish to add a colour bar that indicates the variation in stress of the deflected shape. I ...

meer dan 6 jaar ago | 0 answers | 0

0

answers

Question


Storing neighboring coordinates within a sphere from a 3D domain.
Hi, I wish to be able to form connections between nodes that are within a specified distance apart in 3D space. ~ So fa...

meer dan 6 jaar ago | 1 answer | 0

1

answer

Answered
Defining nodal coordinates for a 3D cubic lattice.
For those who this may be useful, I modified a code provided from another MATLAB user, Marten for ease of use. <https://uk.math...

meer dan 6 jaar ago | 1

| accepted

Question


Defining nodal coordinates for a 3D cubic lattice.
Hi, I wish to create a 3D lattice formed by joining together many 8-node cubic elements (see figure). I wish to define the nu...

meer dan 6 jaar ago | 1 answer | 2

1

answer