문제를 풀었습니다


Swap the first and last columns
Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...

대략 7년 전

문제를 풀었습니다


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

대략 7년 전

문제를 풀었습니다


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

대략 7년 전

문제를 풀었습니다


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

대략 7년 전

문제를 풀었습니다


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

대략 7년 전

문제를 풀었습니다


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

대략 7년 전

문제를 풀었습니다


Add two numbers
Given a and b, return the sum a+b in c.

대략 7년 전

문제를 풀었습니다


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

대략 7년 전

문제를 풀었습니다


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

대략 7년 전

답변 있음
Counting syllables in text from a txt file.
If i understand you right, try this. vowels={'A','I','O','U','E'}; hF=fopen('filename.txt'); %sum contains count of vow...

대략 7년 전 | 0

문제를 풀었습니다


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

대략 7년 전

질문


Error: subscript indices must either be real positive integers or logicals.
Hello, this part of function doesn't working and I don't have any idea why. hA=axes; hold on for i=1:length(Data) ...

7년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Analog VBA statement "with ... end with"
I need declare a lot (real many) fields of structure with long name. How i can do it without using loop? For example: Horr...

7년 초과 전 | 답변 수: 0 | 0

0

답변

답변 있음
Infinite sum of a series
Try this. It seems you forgоt declare the |p|. syms z p r=2.5e-6/2; alpha= acosh(z/r); A= (2*sinh(((2*p)+1)*alp...

7년 초과 전 | 0

답변 있음
data generation from given
Define |t|: t=[0:1e-3:1e-1]; Define |y|: y=10*sin(200*t)+20*cos(200*t.^2); Save data: %to txt fID = fopen('t...

7년 초과 전 | 0

답변 있음
Modeling efflux time from a tank. Equation 11 in the attached document
I think it can be helpful. You have this function with |A, B, C, D| are known: fun = A * (dHdt)^2 + B * (dHdt)^1.75 + C *...

7년 초과 전 | 0

질문


Access to parent object or problem with organize class
Hi, I need to attache some methods to the particular object |obj|. These methods stored to packages (folder with "+" in name)...

7년 초과 전 | 답변 수: 1 | 0

1

답변