Yeap Jia Wei
2015년부터 활동
Followers: 0 Following: 0
Feeds
질문
Write a function that checks whether an element occurs in a list.
function Checking(x) a=([1,3,5,8,9]); if x==a disp('It is an element') else disp('Not an eleme...
대략 9년 전 | 답변 수: 3 | 0
3
답변질문
How do i define the recursive function?
The first three Legendre polynomials are P0(x) = 1, P1(x) = x, and P2(x) = (3x2−1)/2. There is a general recurrence formula for ...
대략 9년 전 | 답변 수: 3 | 2
3
답변질문
How do i generate x/y coordinates to plot points for a race track?
I was given these 4 datas -Time (Seconds) -Ground Speed (km/h) -G Force Long (G) -G Force Lat (G) pls advice?
대략 9년 전 | 답변 수: 0 | 0
0
답변질문
What is the code to use for format spec in order to get matrix table where each column contain contain 4 data?
if true Data = fopen('Track.txt', 'r'); formatspec = ''; Matrix = [4,inf]; DataInMatrix = fscanf(Data, formatspec, Matri...
대략 9년 전 | 답변 수: 1 | 1
1
답변질문
How do i create two multi-dimensional arrays: a 10 x 10 x 10 numerical array (3-D) anda 5 x 5 x 5 x 5 numerical array (4-D) where each value in each array corresponds to the multiplication of indices?
Pls advice
대략 9년 전 | 답변 수: 6 | 0
6
답변질문
How do i export text file into matrix with 4 different data? Pls advice how should the code will be ?
Time (Seconds): 0.00 Ground Speed (km/h): 171.2898382 G Force Long (G): 0.27 G Force Lat (G): 0.1856280 Time (Seconds): 0....
대략 9년 전 | 답변 수: 1 | 0
1
답변질문
How do i create GUI using projectile motion? The GUI is required to be able to input value of x0,y0,v0x,v0y and also able able user to press'redraw plot' button to update figure for projectile motion
x0=0; y0=10; v0=5; angle0=(pi/3); v0x= v0*cos(pi*(angle0/180)); v0y= v0*sin(pi*(angle0/180)); g=9.81; ...
9년 초과 전 | 답변 수: 1 | 0
1
답변질문
How do create a function to plot an output projectile motion wth inputs x0,y0,v0x&v0y? x accleration =0,y accleration,g=9.81. using time vector to denote time and two vectors to denote movement x &y direction?
angle=[0.4, 0.6, pi/4, 1.0, 1.2]; x0=0; y0=0; v0x=0; v0y=0 g=9.81 t=0:.01:500; x=V0x*cos(angle); y=V0y*sin(angle)-9.8*...
9년 초과 전 | 답변 수: 1 | 1