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年以上 前
解決済み
Weighted average
Given two lists of numbers, determine the weighted average.
Example
[1 2 3] and [10 15 20]
should result in
33.333...
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...
回答済み Can you turn off all simplifications?
It's a bit tricky. hold(4/6) will not help you because 4/6 -> 2/3 is done by the parser. You will have to define "frozen" forms ...
13年以上 前 | 1
回答済み Square root of a polynomial over gf
You will have to do it by hand, that is, use polylib::sqrfree and divide all multiplicities by 2. These multiplicities are in th...
14年弱 前 | 0
| 採用済み
回答済み Factorize transfer function
Don't know how to do it using tf, but you can do
syms s
Suu = -1.6/((s-4)*(s+4))
Sux = -0.8/((s+4)*(s-4)*(s^2 + 0.1*s...
14年弱 前 | 1
| 採用済み
回答済み How to solve this equation
This is a recurrence equation and thus has to declared as such using rec(...).
eq = evalin(symengine, 'rec(f(x)=h0*f(x)+h1...
14年弱 前 | 0
回答済み irreducibility test
You have to declare it as a polynomial over GaloisField, e.g.
F = evalin(symengine, 'poly(x^2-2, Dom::GaloisField(5^7)))
...
14年弱 前 | 2
回答済み Problem Solving Symbolic Inequalities
Note that by default solve is in complex mode, i.e., you are looking for all solutions within the complex numbers.
Try
solu...