Feeds
提问
How to compare two elements in an array with not equal operator(~=)?
for i=2:1:length(R) if(R(i)==R(i-1)) else dif=[dif,R(i)]; end end dif=[R(1)]; For e...
7 years 前 | 0 个回答 | 0
0
个回答提问
How to make an exponential function taking as input a vector?
For example, if my vector is: [2], I'd like to convert this into: [1,n]. Then, if input is:[3] -> [1,n,n^2] and so on...
7 years 前 | 1 个回答 | 0
1
个回答提问
How to solve recurrence relations (repeted roots)?
clc;clear all; %% syms n P=input('Coefficients of the polynomial P =[...]= '); k=length(P)-1; R=roots(P); a=input('Base ...
7 years 前 | 0 个回答 | 0
