Feeds
문제를 풀었습니다
Find the alphabetic word product
If the input string s is a word like 'hello', then the output word product p is a number based on the correspondence a=1, b=2, ....
11년 초과 전
문제를 풀었습니다
Which values occur exactly three times?
Return a list of all values (sorted smallest to largest) that appear exactly three times in the input vector x. So if x = [1 2...
11년 초과 전
문제를 풀었습니다
Given a 4x4 matrix, swap the two middle columns
If a = [1 2 3 4; 1 2 3 4; 1 2 3 4; 1 2 3 4]; then the result is ans = 1 3 2 4 1 3 2...
11년 초과 전
문제를 풀었습니다
Alternating sum
Given vector x, calculate the alternating sum y = x(1) - x(2) + x(3) - x(4) + ...
11년 초과 전
문제를 풀었습니다
CONVERT TAN TO SIN
In a right angle triangle ABC given the tan(A) then find sin(A) For example tan(A)=3/4 then sin(A)=3/5
11년 초과 전
문제를 풀었습니다
Derivative of polynomial
Compute the derivative of a given polynomial. The input is an <http://www.mathworks.com/help/matlab/math/representing-polynomial...
11년 초과 전
문제를 풀었습니다
Find all elements less than 0 or greater than 10 and replace them with NaN
Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...
11년 초과 전
문제를 풀었습니다
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...
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년 초과 전
문제를 풀었습니다
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...
11년 초과 전
문제를 풀었습니다
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...
11년 초과 전
문제를 풀었습니다
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:...
11년 초과 전
문제를 풀었습니다
Column Removal
Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; and ...
11년 초과 전
문제를 풀었습니다
Determine if input is odd
Given the input n, return true if n is odd or false if n is even.
11년 초과 전
문제를 풀었습니다
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 ...
11년 초과 전
답변 있음
n term series using For loop
Check this link: <http://www.mathworks.se/help/matlab/ref/for.html>
n term series using For loop
Check this link: <http://www.mathworks.se/help/matlab/ref/for.html>
11년 초과 전 | 0
질문
Is the One-sided Spectrum from Spectrum Scope scaled ?
I have computed the power spectral density in a MATLAB function block in parallel with the SIMULINK Spectrum Scope. For both I t...
11년 초과 전 | 답변 수: 0 | 0
0
답변질문
SL MATALB function block a bus-capable block ?
Hi, I'm trying to extract some parameters (2 out of 7) from a bus signal and use them in my code in the MATLAB function block. T...
11년 초과 전 | 답변 수: 1 | 0
1
답변질문
builddocsearchdb command does not work in this case ?
Hi, i have created my own toolboxes documented them (with hmtl's, help sections and hyperlinks) as described in |<http://www.m...
12년 초과 전 | 답변 수: 0 | 0
0
답변질문
Extend own created documentation to help browser ?
I have made my own toolbox. And added documentation to it. I can access the files by both: * Typing |help myfunctionname| in ...
12년 초과 전 | 답변 수: 0 | 0