문제를 풀었습니다


Distance walked 1D
Suppose you go from position 7 to 10 to 6 to 4. Then you have walked 9 units of distance, since 7 to 10 is 3 units, 10 to 6 is 4...

11년 초과 전

문제를 풀었습니다


The Goldbach Conjecture
The <http://en.wikipedia.org/wiki/Goldbach's_conjecture Goldbach conjecture> asserts that every even integer greater than 2 can ...

11년 초과 전

문제를 풀었습니다


The Hitchhiker's Guide to MATLAB
Output logical "true" if the input is the answer to life, the universe and everything. Otherwise, output logical "false".

11년 초과 전

문제를 풀었습니다


How to find the position of an element in a vector without using the find function
Write a function posX=findPosition(x,y) where x is a vector and y is the number that you are searching for. Examples: fin...

11년 초과 전

문제를 풀었습니다


Reverse the vector
Reverse the vector elements. Example: Input x = [1,2,3,4,5,6,7,8,9] Output y = [9,8,7,6,5,4,3,2,1]

11년 초과 전

문제를 풀었습니다


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 + ...

11년 초과 전

문제를 풀었습니다


Sum all integers from 1 to 2^n
Given the number x, y must be the summation of all integers from 1 to 2^x. For instance if x=2 then y must be 1+2+3+4=10.

11년 초과 전

문제를 풀었습니다


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...

11년 초과 전

문제를 풀었습니다


Back and Forth Rows
Given a number n, create an n-by-n matrix in which the integers from 1 to n^2 wind back and forth along the rows as shown in the...

11년 초과 전

문제를 풀었습니다


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...

11년 초과 전

문제를 풀었습니다


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...

11년 초과 전

문제를 풀었습니다


Find the numeric mean of the prime numbers in a matrix.
There will always be at least one prime in the matrix. Example: Input in = [ 8 3 5 9 ] Output out is 4...

11년 초과 전

문제를 풀었습니다


Weighted average
Given two lists of numbers, determine the weighted average. Example [1 2 3] and [10 15 20] should result in 33.333...

11년 초과 전

문제를 풀었습니다


Check if sorted
Check if sorted. Example: Input x = [1 2 0] Output y is 0

11년 초과 전

문제를 풀었습니다


Fahrenheit to Celsius using multiple statements
Given a Fahrenheit value F, convert to a Celsius value C. While the equation is C = 5/9 * (F - 32), as an exercise use two state...

11년 초과 전

답변 있음
Invalid MEX-file, likely missing .dll
Have you tried the database toolbox? http://www.mathworks.com/help/database/index.html

거의 12년 전 | 0

답변 있음
Simulink Sfunction Error - not a valid Win32 application
It is possible that the bitness of the S function and MATLAB or some of the modules have a bitness mismatch. Is it possible that...

거의 12년 전 | 0

답변 있음
Could not find version 7.14 of the MCR
Hi Grigory, Can you check your PATH variable to see if the MCR path to mclmcrrt7_14.dll is ahead than the path to the corresp...

거의 12년 전 | 1

답변 있음
MATLAB deploytool not working, fails while building.
Firstly, the JDK version that you have on your machine does not match the one that is supported by MATLAB. To find out what vers...

거의 12년 전 | 0

답변 있음
I have had an issue in MATLAB 2013a.
Are you using a supported compiler for R2013a? http://www.mathworks.com/support/compilers/R2013a/index.html?sec=win64 Afte...

거의 12년 전 | 0

답변 있음
Compiler error in 2014a
Even though this warning appears, you should be able to package your code into an executable successfully. If the code does not ...

거의 12년 전 | 0

답변 있음
Problem with compilation and deployment - warning_message_prefix
Hi Lorenzo, Does the compilation of a simple exe work? Can you paste the entire build log from deploytool or the verbose outp...

거의 12년 전 | 0

답변 있음
How to compile and install without MCR?
Hi Jake, Maybe you should try using the executable from the for_testing folder instead. That has no trace of the MCR, and sho...

거의 12년 전 | 0

답변 있음
Is it possible to change frequency of hardware generated PWM on the fly?
Nope, properties for background operations cannot be changed. You have to pause the background operation, and then change the pr...

거의 12년 전 | 0

답변 있음
What username and password should I enter in 'Connect to a Data Source' window of Database toolbox?
The username and password are a set of credentials that the database toolbox can accept. This information can be found in your d...

거의 12년 전 | 0

| 수락됨

답변 있음
SQL query with actxserver
Have you tried using fetch? a= DB.exec(query) data=fetch(a)

대략 12년 전 | 0

답변 있음
Problem in image acquisition
Are you using a supported camera? Have you installed all the necessary drivers? What version of MATLAB are you using?

대략 12년 전 | 0

문제를 풀었습니다


Create times-tables
At one time or another, we all had to memorize boring times tables. 5 times 5 is 25. 5 times 6 is 30. 12 times 12 is way more th...

12년 초과 전

답변 있음
intel c++ composer 2011 with SKD 7.1 and R2013a
It is possible that the Intel Composer settings are embedded in the SDK installation. Are you able to successfully compile a sma...

12년 초과 전 | 0

답변 있음
how to interface beagleboard with matlab simulink?
You can look at this Mathworks page for beagleboard: http://www.mathworks.com/hardware-support/beagleboard.html

12년 초과 전 | 0

더 보기