Feeds
질문
How to stop display of images formed in a loop? A part of code is here. I want to make a video file with the images that get generated in the loop but on executing the output displays each image. I have trid visibilty off option but that doesn't work
vidObj = VideoWriter('peaks.avi'); open(vidObj); for i = 1:size(dfg,1) set(gcf,'Visible', 'off'); ...
9년 초과 전 | 답변 수: 1 | 0
1
답변질문
Passing an input after making exe
How to pass a date as an input which will be used in sql statement for an exe file made out of m-file?
9년 초과 전 | 답변 수: 1 | 0
1
답변질문
Is it possible to connect to 64bit database using 32bit ODBC driver from 64bit MATLAB 2011a?
Is it possible to connect to 64bit database using 32bit ODBC driver from 64bit MATLAB 2011a?
9년 초과 전 | 답변 수: 0 | 0
0
답변질문
ODBC connection with 32bit client?
I have 2011a 64bit version of MATLAB. My code connects to database using ODBC connection. I am trying to run exe file made out o...
9년 초과 전 | 답변 수: 1 | 0
1
답변질문
Plotting points with polar coordinates
<</matlabcentral/answers/uploaded_files/42495/polar.png>> I have polar coordinates of points with different radius. I want a ...
10년 초과 전 | 답변 수: 1 | 0
1
답변문제를 풀었습니다
Return the 3n+1 sequence for n
A Collatz sequence is the sequence where, for a given number n, the next number in the sequence is either n/2 if the number is e...
10년 초과 전
문제를 풀었습니다
Most nonzero elements in row
Given the matrix a, return the index r of the row with the most nonzero elements. Assume there will always be exactly one row th...
10년 초과 전
문제를 풀었습니다
Finding Perfect Squares
Given a vector of numbers, return true if one of the numbers is a square of one of the other numbers. Otherwise return false. E...
10년 초과 전
문제를 풀었습니다
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...
10년 초과 전
문제를 풀었습니다
Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...
10년 초과 전
문제를 풀었습니다
Determine if input is odd
Given the input n, return true if n is odd or false if n is even.
10년 초과 전
문제를 풀었습니다
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...
10년 초과 전
문제를 풀었습니다
Summing digits
Given n, find the sum of the digits that make up 2^n. Example: Input n = 7 Output b = 11 since 2^7 = 128, and 1 + ...
10년 초과 전
질문
How to make a 3D figure of a furnace which has temperature displayed on its surface?
I have temperature data from thermocouples which are at different height on the surface of furnace. I know their respective heig...
10년 초과 전 | 답변 수: 0 | 0
0
답변문제를 풀었습니다
Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...
10년 초과 전
문제를 풀었습니다
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...
10년 초과 전
문제를 풀었습니다
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 ...
10년 초과 전
문제를 풀었습니다
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...
10년 초과 전
문제를 풀었습니다
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:...
10년 초과 전

