![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/18764812_1592036606034_DEF.jpg)
CHENG QIAN LAI
Followers: 0 Following: 0
Feeds
문제를 풀었습니다
Project Euler: Problem 1, Multiples of 3 and 5
If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23...
1년 초과 전
답변 있음
how can i make this animation faster in MATLAB?
% If you draw x,y ,you will get 1000 Line objects. % (ball_bounce1=1000 Line obj) ball_bounce1= plot(x,y,'c'); numel( ball_bo...
how can i make this animation faster in MATLAB?
% If you draw x,y ,you will get 1000 Line objects. % (ball_bounce1=1000 Line obj) ball_bounce1= plot(x,y,'c'); numel( ball_bo...
거의 4년 전 | 0
답변 있음
Vectorize two for loops
[i,j]=ndgrid(1:100,1:200); % 1 2 3 . . . 200 %--------------------------- % i= 1 1 1 . . . 1 | 1 % 2...
Vectorize two for loops
[i,j]=ndgrid(1:100,1:200); % 1 2 3 . . . 200 %--------------------------- % i= 1 1 1 . . . 1 | 1 % 2...
거의 4년 전 | 0
답변 있음
Matrix operation connecting two Matrix
For example: B(1,1)=2 means second element of A (=15) --> A( B(1,1),1 ) = A( 2,1 ) = 15 B(2,2)=4 means forth element of A (...
Matrix operation connecting two Matrix
For example: B(1,1)=2 means second element of A (=15) --> A( B(1,1),1 ) = A( 2,1 ) = 15 B(2,2)=4 means forth element of A (...
거의 4년 전 | 0
| 수락됨
답변 있음
How to lock the axis origin and limits for an axes figure in app designer
t = linspace(0,10*pi,200); x = sin(t); y = cos(t); hAxes=axes; line(hAxes,x,y,t) view(3) hBehavior = hggetbehavior(hAx...
How to lock the axis origin and limits for an axes figure in app designer
t = linspace(0,10*pi,200); x = sin(t); y = cos(t); hAxes=axes; line(hAxes,x,y,t) view(3) hBehavior = hggetbehavior(hAx...
거의 4년 전 | 0
문제를 풀었습니다
Binary numbers
Given a positive, scalar integer n, create a (2^n)-by-n double-precision matrix containing the binary numbers from 0 through 2^n...
거의 4년 전
문제를 풀었습니다
Find the longest sequence of 1's in a binary sequence.
Given a string such as s = '011110010000000100010111' find the length of the longest string of consecutive 1's. In this examp...
거의 4년 전
문제를 풀었습니다
Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...
거의 4년 전