回答済み
Delete specific rows in a multidimensional matrix
The solution for your problem could be: Z=rand(800,1,100)*400; for(k=800:-1:1) if(or(Z(k,1,:)>=230,Z(k,1,:)<=330)...

約6年 前 | 1

回答済み
Hey please assist me with plotting this function, not sure why im getting indexing error
You are missing a multiplying symbol y1=(3/10)*(1-exp(-6*t) [.*] (cos(sqrt(14*t))+(((3*sqrt(14))/7)*sin(sqrt(14*t))))) ...

約6年 前 | 0

回答済み
Generate a 1-by-10 vector p whose elements are random numbers.
p=rand(1,10)

約6年 前 | 0

回答済み
Interfacing between MATLAB and PowerPoint through Visual Basic or VBA macros to group shapes in VBA
You always can make an array with the names to have a known type: [a1.Name,a2.Name]

約6年 前 | 0

回答済み
Best way to sort a 3-d matrix by one column?
I am not sure if this is what you want: matrix(:,33,2) = sort(matrix(:,33,2));

約6年 前 | 0

回答済み
How to plot a triangle with the user's measurments?
Just try: ang = acos((a^2+b^2-c^2)/(2*a*b)) if(isreal(ang)) plot([0,a,b*cos(ang),0],[0,0,b*sin(ang),0]) end ...

約6年 前 | 0

| 採用済み

回答済み
Iteratively save data to mat file
First, use the -nocompression option for the save operator if you have a lot of info. Maybe you could improve your performanc...

約6年 前 | 0

回答済み
Unable to convert 'sym' value to 'double'. after using solve
I have not much info with this... but, I guess tcr = constant * (DELTA_CR - constant). That means tcr doesn't have a double valu...

約6年 前 | 0

回答済み
How can I simulate a circuit?
You have two options: - Model the system to extract the differential equations and the use a solve to find the temporal behav...

約6年 前 | 1

| 採用済み

質問


why symbolic variables always size 8 bytes?
Each time I want to know how big a symbolic formula or variable is, it always return 8 bytes. I have tracked this issue from M...

約6年 前 | 1 件の回答 | 0

1

回答

解決済み


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

約6年 前

解決済み


Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

6年以上 前

解決済み


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

6年以上 前

解決済み


Alternating sum
Given vector x, calculate the alternating sum y = x(1) - x(2) + x(3) - x(4) + ...

6年以上 前

解決済み


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.

6年以上 前

解決済み


Given a window, how many subsets of a vector sum positive
Given a vector: [1 0 -1 3 2 -3 1] and a window of 2, A sliding window would find: 1 + 0 = 1 0 - 1 = -1 ...

7年弱 前

解決済み


Implement simple rotation cypher
If given a letter from the set: [abc...xyz] and a shift, implement a shift cypher. Example: 'abc' with a shi...

7年弱 前

解決済み


Is this triangle right-angled?
Given any three positive numbers a, b, c, return true if the triangle with sides a, b and c is right-angled. Otherwise, return f...

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年弱 前

解決済み


Side of an equilateral triangle
If an equilateral triangle has area A, then what is the length of each of its sides, x? <<http://upload.wikimedia.org/wikipe...

7年弱 前

解決済み


Area of an Isoceles Triangle
An isosceles triangle has equal sides of length x and a base of length y. Find the area, A, of the triangle. <<http://upload...

7年弱 前

解決済み


Area of an equilateral triangle
Calculate the area of an equilateral triangle of side x. <<http://upload.wikimedia.org/wikipedia/commons/e/e0/Equilateral-tr...

7年弱 前

解決済み


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

7年弱 前

解決済み


Is this triangle right-angled?
Given three positive numbers a, b, c, where c is the largest number, return *true* if the triangle with sides a, b and c is righ...

7年弱 前

解決済み


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

7年弱 前

解決済み


5 Prime Numbers
Your function will be given lower and upper integer bounds. Your task is to return a vector containing the first five prime numb...

7年弱 前

解決済み


Extra safe primes
Did you know that the number 5 is the first safe prime? A safe prime is a prime number that can be expressed as 2p+1, where p is...

7年弱 前

解決済み


Tick. Tock. Tick. Tock. Tick. Tock. Tick. Tock. Tick. Tock.
Submit your answer to this problem a multiple of 5 seconds after the hour. Your answer is irrelevant; the only thing that matte...

7年弱 前

解決済み


Basic electricity in a dry situation
&#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#...

7年弱 前

解決済み


Pentagonal Numbers
Your function will receive a lower and upper bound. It should return all pentagonal numbers within that inclusive range in ascen...

7年弱 前

さらに読み込む