Feeds
답변 있음
Arduino UNO R4 Minima support?
Arduino Uno R4 Minima is now supported with the Simulink Support Package for Arduino Hardware starting R2025a release. Please r...
Arduino UNO R4 Minima support?
Arduino Uno R4 Minima is now supported with the Simulink Support Package for Arduino Hardware starting R2025a release. Please r...
6개월 전 | 0
문제를 풀었습니다
Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
The given function returns the index of the maximum value in a given matrix. such as X=[4,3,4,5,9,12,0,5] Ans= 6 if maxim...
3년 초과 전
문제를 풀었습니다
Get the length of a given vector
Given a vector x, the output y should equal the length of x.
3년 초과 전
문제를 풀었습니다
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.
3년 초과 전
문제를 풀었습니다
Cumulative product of a vector
Cumulative product of a vector example x=[1 2 5 10], then answer must be [ 1 2 10 100] *If you like this prob...
3년 초과 전
문제를 풀었습니다
Find out sum of all elements of given Matrix
Find out sum of all elements of given Matrix A=[1 2 3;4 5 6 ;7 8 9]; Answer must be: 45 *If you like this problem, pl...
3년 초과 전
문제를 풀었습니다
Length of the hypotenuse
Given short sides of lengths a and b, calculate the length c of the hypotenuse of the right-angled triangle. <<https://i.imgu...
3년 초과 전
문제를 풀었습니다
Matlab Basics - y as a function of x
Write a function to calculate y as a function of x, such that y = 6x^2 + 5x - 2
3년 초과 전
문제를 풀었습니다
Sum of series VI
What is the sum of the following sequence: Σk⋅k! for k=1...n for different n?
3년 초과 전
문제를 풀었습니다
Matlab Basics - Absolute Value
Write a script that returns the absolute value of the elements in x e.g. x = [-1 -2 -3 -4] --> y = [1 2 3 4]
3년 초과 전
문제를 풀었습니다
Cell joiner
You are given a cell array of strings and a string delimiter. You need to produce one string which is composed of each string fr...
3년 초과 전
문제를 풀었습니다
Tell me the slope
Tell me the slope, given a vector with horizontal run first and vertical rise next. Example input: x = [10 2];
3년 초과 전
문제를 풀었습니다
Y=X
Given an input variable x, output a variable y that is equal in value to x. Example: Input x = 1 Output y is 1 Inp...
3년 초과 전
문제를 풀었습니다
Find the area of a rectangle if length of the diagonal is given.
if length of a diagnonal in rectangle is 5. Its area is 12.
3년 초과 전
문제를 풀었습니다
Square Diagonal
If n is the given number, then make a diagonal matrix of size 2*2 with the square of that number.
3년 초과 전
문제를 풀었습니다
Calculate Engine Power
Calculate Engine Power (P) in kW given the values of Torque(M) in Nm and Engine Speed(n) in rpm
3년 초과 전
문제를 풀었습니다
Who has power to do everything in this world?
There is only one person who is older than this universe. He is Indian version of Chuck Norris.
3년 초과 전
문제를 풀었습니다
What's Your BMI?
Find the body mass index. For reference, please refer to Wikipedia here: <http://en.wikipedia.org/wiki/Body_mass_index body ...
3년 초과 전
문제를 풀었습니다
Square root
Given x (a matrix), give back another matrix, where all the elements are the square roots of x's elements.
3년 초과 전
문제를 풀었습니다
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...
3년 초과 전
문제를 풀었습니다
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:...
3년 초과 전
문제를 풀었습니다
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...
3년 초과 전

