![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/9672777_1531139743964_DEF.jpg)
alex brown
Followers: 0 Following: 0
Feeds
문제를 풀었습니다
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...
대략 5년 전
문제를 풀었습니다
Length of the hypotenuse
Given short sides of lengths a and b, calculate the length c of the hypotenuse of the right-angled triangle. <<http://upload....
대략 5년 전
문제를 풀었습니다
Length of a short side
Calculate the length of the short side, a, of a right-angled triangle with hypotenuse of length c, and other short side of lengt...
대략 5년 전
질문
how to generate random numbers with constraints?
Hi, I want to generate 24 random numbers whose sum is limited between [3550 3650]. in addition each number must be between [5 80...
5년 초과 전 | 답변 수: 2 | 0
2
답변질문
bar plot ylim problem
I want to set some blank space in y axis in a bar plot. ylim doesn't work. I just don't want to have a tight ylim plot (I need s...
5년 초과 전 | 답변 수: 1 | 0
1
답변질문
generate random number with nonlinear constraints
I want to generate 5 uniformly distributed random numbers whose upper and lower bounds will be upb=[4 2 -2.5 .9 -.1]; and lowb=[...
5년 초과 전 | 답변 수: 0 | 0
0
답변문제를 풀었습니다
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...
5년 초과 전
문제를 풀었습니다
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.
5년 초과 전
문제를 풀었습니다
Weighted average
Given two lists of numbers, determine the weighted average. Example [1 2 3] and [10 15 20] should result in 33.333...
5년 초과 전
문제를 풀었습니다
Deleting an element in a matrix
For vector Grades=[98 56 78 34 100 88 87], delete the number 78 to get the following matrix Grades=[98 56 34 100 88 87] **re...
5년 초과 전
문제를 풀었습니다
middleAsColumn: Return all but first and last element as a column vector
Given input A, return all but the first and last elements, arranged as a column vector. (I.e., all dimensions after the first s...
5년 초과 전
문제를 풀었습니다
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:...
5년 초과 전
제출됨
Digital Root of a number
This code is for findining the digital root of a number.
대략 6년 전 | 다운로드 수: 2 |