Community Profile

photo

Jonathan Bird


Last seen: 2 years ago Active since 2018

Statistics

  • Thankful Level 3

View badges

Content Feed

View by

Question


Summing up values in a matrix
I have a 4D matrix, I(i,j,y,x) which has dimensions of 64 x 64 x 70 x 160. For each coordinate in y and x I'd like to sum all th...

2 years ago | 1 answer | 0

1

answer

Question


Heat Dissipation from an Annular Fin
I'm trying to find the rate of heat dissipation from an annular fin as a function of the fin radius. The rate of heat dissipatio...

3 years ago | 1 answer | 0

1

answer

Question


Area of an closed 2d plot
Is there an easy way to find the area within a 2d closed curve? e.g the area of circle? I know this can be found easily with a f...

3 years ago | 1 answer | 0

1

answer

Question


2D Temperature Distribution
I need to plot the temperature distribution for the square cross-section of a bar, 3 sides are fixed at a temperature of 283 K, ...

3 years ago | 1 answer | 0

1

answer

Question


How to alter Comet Speed
I'm trying to use the comet function as a 2D animation but there does not seem to be an easy way to alter the speed at which it ...

3 years ago | 1 answer | 0

1

answer

Question


Area enclosed within a curve
I'm trying to find the enclosed area for two curves, shown in the plot titled "Ideal and Schmidt pV Diagrams". I think using the...

3 years ago | 0 answers | 0

0

answers

Question


Pressure as a function of crank angle
I need to plot pressure as a function of crank angle using the following eqaution p=(pm*SQRT(1-c^2))/(1-c*cos(alpha-delta)). Ive...

3 years ago | 1 answer | 0

1

answer

Question


Plotting a p-V diagram
I need to plot a p-V diagram for an ideal cycle using the ideal gas law: pV=mRT Ive chosen arbitrary values of 373K and 273K fo...

3 years ago | 2 answers | 0

2

answers

Question


Patch to Surf Conversion
We have the following code defining a pair of wings using the patch function. We are trying to convert the .m file to an .stl fi...

5 years ago | 1 answer | 0

1

answer

Question


Trouble Understanding Code for a Hemisphere
I have used the following code to create a hemisphere with radius 10. Unfortunately I don't really understand what the code does...

5 years ago | 1 answer | 0

1

answer

Question


How to restrict the angle a cylinder is defined over
If you have a cylinder generated by the following code how would you define is so that the cylinder is restricted to certain ang...

5 years ago | 2 answers | 0

2

answers

Question


How to change the centre of one face of a cone
Im trying to design a cone where the centre for one of the faces is offset from the centre of the other face, as in the picture ...

5 years ago | 1 answer | 0

1

answer

Question


How to design blades in Matlab
I'm trying to design propeller blades like in the attached photo but I'm not sure where to start, any suggestions?

5 years ago | 2 answers | 0

2

answers

Question


Adapting a paraboloid code
I found the following code to plot a paraboloid but now I need to adapt it to change the base radius and height, thanks [r,...

5 years ago | 0 answers | 2

0

answers

Question


Translating a hemisphere in 3D
I have created a hemisphere with the following code and then rotated it by 90 degrees. I now want to translate the shape to a ...

5 years ago | 1 answer | 0

1

answer

Question


Translating a 3D shape
I have used the following code to generate a hemisphere and rotated it: [x1,y1,z1]=sphere; x1=x1(11:end,:); y1=y1(11:end,:);...

5 years ago | 0 answers | 0

0

answers

Question


Rotating a cylinder by 90 degrees
I've generated a cylinder as follows: [x,y,z]=cylinder([0,10,10,0],100); z([1,2],:)=0; z([3,4],:)=100; mesh(x,y,z) ...

5 years ago | 1 answer | 0

1

answer

Question


Testing whether values are unique
The user is asked to assign values to sixth variables (a,b,c,d,e,f). I want an errordlg to display in the event any 2 or more va...

5 years ago | 1 answer | 0

1

answer

Question


checking that a user input is an integer
The user is told to input an integer between 1 and 59 but I want an error message to display if the value they enter is not an i...

5 years ago | 2 answers | 0

2

answers

Question


finding the common numbers in 2 arrays
I want to compare two arrays each containing 6 numbers e.g. [1,2,3,4,5,6] and [4,8,6,10,11,12]. I want to determine how many num...

5 years ago | 1 answer | 0

1

answer

Question


how to assign variables to user inputs
I'm asking the user to input 6 values between 1 and 59, I want to assign variables to each input so they can be compared etc. I ...

5 years ago | 1 answer | 0

1

answer