Feeds
提问
Finding the "center integers" of an array
Consider the input vector: [1 2 3 10 11 12 15 16 17 20 21 22 23 24 30]' Let's group the elements of the input vector in th...
9 years 前 | 3 个回答 | 0
3
个回答提问
Is there a way to fully display a symbolic answer that is truncated in the command window?
I am trying to display a symbolic answer in the command window. However, the entire symbolic expression cannot be displayed. If ...
10 years 前 | 1 个回答 | 2
1
个回答提问
How do you save a text file containing symbolic variables?
I want to be able to write symbolic variables to a .txt file and then be able to look at that file. I'm trying to do: A = s...
10 years 前 | 0 个回答 | 0
0
个回答提问
How do you transform a vector of numbers into a cell of strings?
I have a vector of numbers: A = [1 2 3 4 5]'; I want to change it to a cell of strings, such as the one I've declared here...
10 years 前 | 2 个回答 | 1
2
个回答提问
Comparing vectors of different size
How do I compare two vectors of different size? I want to compare them using the "greater than or equal to operator" or "less th...
10 years 前 | 1 个回答 | 0
1
个回答提问
After taking the time derivative of a symbolic expression, how do you then differentiate that new expression with respect to another variable's time derivative?
I apologize for such a poorly worded question, but I'm not quite sure how else to word it. You're given, x and y, both symbol...
11 years 前 | 2 个回答 | 0
2
个回答提问
Rounding each individual value in a vector to values in another vector
If you have v1 = [2.5 3.74 7.92] (These numbers are meant to be random) and you wanted to round these numbers up or down, you us...
11 years 前 | 1 个回答 | 0
1
个回答提问
Is there a function or method that rounds a value towards a entries of a vector?
Say we have the value 5.5. If we do floor(5.5), we get 5. If we do ceil(5.5), we get 6. Is there a function or method that can b...
11 years 前 | 2 个回答 | 0
2
个回答提问
How do you vectorize the following for loop?
I'm trying to vectorize this for loop. A and B are both vectors. The general idea is that D should be a vector made up of 0's an...
11 years 前 | 1 个回答 | 0