Feeds
답변 있음
plotting data which extends several years
Try one of these time = [time_2007,time_2008+365]; plot(time,data); or time=[datenum('2007,1,1')+time_2007,dat...
plotting data which extends several years
Try one of these time = [time_2007,time_2008+365]; plot(time,data); or time=[datenum('2007,1,1')+time_2007,dat...
12년 초과 전 | 0
문제를 풀었습니다
The Goldbach Conjecture
The <http://en.wikipedia.org/wiki/Goldbach's_conjecture Goldbach conjecture> asserts that every even integer greater than 2 can ...
12년 초과 전
문제를 풀었습니다
Sort a list of complex numbers based on far they are from the origin.
Given a list of complex numbers z, return a list zSorted such that the numbers that are farthest from the origin (0+0i) appear f...
12년 초과 전
문제를 풀었습니다
Swap the first and last columns
Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...
12년 초과 전
문제를 풀었습니다
Make a checkerboard matrix
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Example...
12년 초과 전
문제를 풀었습니다
Fibonacci sequence
Calculate the nth Fibonacci number. Given n, return f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ... Examples: Inpu...
12년 초과 전
문제를 풀었습니다
Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...
12년 초과 전
문제를 풀었습니다
Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...
12년 초과 전
문제를 풀었습니다
Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...
12년 초과 전
질문
DelaunayTri
I already have a triangulation (x,y,z,tri). How can I create a DelaunayTri class without re-triangulating?
거의 13년 전 | 답변 수: 0 | 0
0
답변답변 있음
Change a variable name in a dataset array
I knew there should be an easier way. Thanks
Change a variable name in a dataset array
I knew there should be an easier way. Thanks
거의 13년 전 | 0
질문
Change a variable name in a dataset array
I would like to change the name of one of the variable names in a dataset array. I can do it like this temp=get(DS); vn=tem...
거의 13년 전 | 답변 수: 2 | 0
2
답변답변 있음
legend doesn't resize with figure
Make sure "Match figure screen size" is checked under Preferences-->Figure Copy Template-->Copy Options.
legend doesn't resize with figure
Make sure "Match figure screen size" is checked under Preferences-->Figure Copy Template-->Copy Options.
13년 초과 전 | 0
답변 있음
Microsoft Word and Figures
Save your figure using saveas() (use emf or png). When inserting the saved figure to Word use "link to file" option.
Microsoft Word and Figures
Save your figure using saveas() (use emf or png). When inserting the saved figure to Word use "link to file" option.
13년 초과 전 | 0
질문
getting the axis position correctly
I can get the position of the axis easily figure,plot([0 1], [0 1]) axis equal AxesHandle=findobj(gcf,'Type','axes'); ge...
13년 초과 전 | 답변 수: 3 | 1