Write a ROTATION MATRIX function in MATLAB || TUTORIAL

  Рет қаралды 6,688

Prot04m

Prot04m

Күн бұрын

Пікірлер: 5
@essamsalem6630
@essamsalem6630 3 жыл бұрын
Thank you sir l have one question How to design a half hollow cylinder by using the cylindrical coordinates (x=r*cos , y=r*sin
@monica11498
@monica11498 2 жыл бұрын
Hi Dr.Protocol, I tried this on my own following everything you did here to ultimately make the donut/torus 3d object. However I'm stuck on this part. I keep getting an error when I run the circle script when it hits this function. Is there anywhere online I could find this code.
@prot0form775
@prot0form775 2 жыл бұрын
Hi, sorry for the very late response, are you still having this problem? can you share the error message?
@yannis8599
@yannis8599 Жыл бұрын
@@prot0form775 hello master, Its Not the Same guy But Same problem. My error Message is: „Index in Position 1 Exceeds array bounds. Index Must Not exceed 3“ I get this Where i write: „new_circle = rotationMatrix('x',180)*[x;y;z;]; For the 'x' and 180 degrees
@prot0form775
@prot0form775 Жыл бұрын
@@yannis8599 ok so I will be referring to the code as it is in 10:51 1. make sure x, y, and z are just one row vectors, 1xNumberOfNodes. 2. inside the function, make sure each "rotation_matrix" for each dimension is a 3x3. - If any of these two conditions is not met, the matrix multiplication is not possible. 3. That message often appears when there is indexation, and that only appears during the plotting part (line 27). - The array "new_cirlce" is arranged in 3 columns, x-y-z respectively, and each row is one node. So to plot, make sure the indexes are properly declared. - If the arrays have the correct dimensions (like explained above), that line for plotting should work for every 3D figure. Hope this helps.
Create a CYLINDER in MATLAB || TUTORIAL
15:59
Prot04m
Рет қаралды 4,7 М.
Create a RECTANGULAR WING in MATLAB || TUTORIAL
12:09
Prot04m
Рет қаралды 4 М.
“Don’t stop the chances.”
00:44
ISSEI / いっせい
Рет қаралды 45 МЛН
Support each other🤝
00:31
ISSEI / いっせい
Рет қаралды 62 МЛН
Правильный подход к детям
00:18
Beatrise
Рет қаралды 10 МЛН
To Brawl AND BEYOND!
00:51
Brawl Stars
Рет қаралды 16 МЛН
Finding angles from a rotation matrix
13:25
Jacob Farnsworth
Рет қаралды 11 М.
Math News: The Fish Bone Conjecture has been deboned!!
23:06
Dr. Trefor Bazett
Рет қаралды 144 М.
Fast Inverse Square Root - A Quake III Algorithm
20:08
Nemean
Рет қаралды 5 МЛН
Intro to Matlab functions and classes
11:15
Anders Munk-Nielsen
Рет қаралды 47 М.
Introduction to Meshgrid Function and 3D Plotting in MATLAB
9:17
Aleksandar Haber PhD
Рет қаралды 23 М.
Euler Angles - Explained with Code! (Matlab Demonstration)
16:33
HysterResearch
Рет қаралды 4,4 М.
2.3 Rotations in 3D
11:14
Woolfrey
Рет қаралды 266 М.
“Don’t stop the chances.”
00:44
ISSEI / いっせい
Рет қаралды 45 МЛН