Community Profile

photo

Paul


Last seen: Today 2011 이후 활성

Statistics

All
  • Knowledgeable Level 4
  • Pro
  • 12 Month Streak
  • Revival Level 1
  • Thankful Level 2
  • First Answer
  • Solver

배지보기

Content Feed

보기 기준

답변 있음
Convert transfer function from s domain to z^-1 domain
c2d supports different methods. The "pole-zero mapping" is what c2d calls "matched." However the result using "matched" does n...

1일 전 | 0

질문


Should sympref Change the Behavior of rectangularPulse()?
The doc page for rectangularPulse states: If x = a or x = b and a <> b, then the rectangular pulse function equals 1/2. Verify...

2일 전 | 답변 수: 0 | 0

0

답변

답변 있음
How to solve an ODE in Simulink with non constant coefficients?
Use a Clock block from the Sources library to output the simulation time (t).

3일 전 | 0

답변 있음
How to get the coefficients of a fractional polynomial from syms?
If I correctly understand this comment (and I'm not sure I do), it sounds like you just want the coefficients of the numerator o...

6일 전 | 0

| 수락됨

답변 있음
How can I get the correct spectral phase variations of a super gaussian pulse?
The posted code doesn't run. The frequency vector f is defined in terms of numel(X), but X isn't defined yet. I thing that intr...

7일 전 | 0

답변 있음
using of ss2tf command
In my opinion, that statement in the documentation doesn't make sense. It should say "... returns the Laplace transform of the ...

8일 전 | 0

| 수락됨

답변 있음
Simulating Gamma distributed RV's using Matlab
For starters, probably shouldn't use inline. Use an anonymous function instead. And I'm going to change the variables involved ...

8일 전 | 0

| 수락됨

답변 있음
what is root of a equation in s(laplace domain) in response of ilapalace means
If ilaplace can't find a closed form expression it returns the result in terms of "root," which can then be evaluated numericall...

9일 전 | 0

| 수락됨

답변 있음
How to obtain FFT of nonuniformly spaced data?
You can try using the tspan input to od15i to specify equally spaced sample points in time at which the solution is desired. Che...

10일 전 | 0

답변 있음
Different frequency responses using [z,p,k] method and [b,a] for 2nd order elliptical filter
If fvtool is like freqz, you need to make sure that the sos input has more than one row. Otherwise, the input might not be inter...

15일 전 | 1

답변 있음
how to change line colors in bodes, nichols, nyquist, etc
I tested stepplot and bodeplot and am seeing the same thing as you, i.e., if more than 7 responses, then multiple responses are ...

20일 전 | 0

답변 있음
Does order of multiplication really matter when using simplify ?
I suspect that in the first instance the term 1/(2*pi) is first evaluated numerically, and then the result in coverted to symbol...

22일 전 | 1

| 수락됨

답변 있음
Problem with mvncdf - returning NaN
The limits of area of integration defined in xl and xu are way, way, out in the tails of the density function, which may be why ...

22일 전 | 1

| 수락됨

답변 있음
how to do symbolic type negation ?
Accoding to the doc page for assume(), maybe assume(~in(x,'integer')) will do what you want? I couldn't test it because my ve...

23일 전 | 0

| 수락됨

답변 있음
How to Find out the port/signal name which is connected to a particular input in a block
Can be done in two steps: signals = get_param(block,'InputSignalNames'); signals{double(string(get_param(block,'Port')))} whe...

23일 전 | 0

| 수락됨

답변 있음
Plotting the absolute value.
plot(abs(Fx))

23일 전 | 0

| 수락됨

답변 있음
what are the name of the two components in simulink
The one at the top looks like Bus Selector The one at the bottom is Add You can always right click on a block and click Help t...

24일 전 | 0

답변 있음
CDF of log pearson
Not familiar with the disribution, but can offer the following about this code: % data Q=[23.81 33.98 62.01 140.45 184.91 ...

24일 전 | 0

| 수락됨

질문


Why Does int() of rectangularPulse Return NaN?
syms t real x(t) = rectangularPulse(0,1,t); int(x(t),t,0,5) int(x(t),t,0,inf) int(x(t),t,-10,10) int(x(t),t,-inf,inf) Any ...

25일 전 | 답변 수: 1 | 0

1

답변

답변 있음
To Get Correct FFT Result the length(x) must be An Integral Multiple of 100?
The desired plot will be obtained when N, the number of elements of t, is an integer multiple of the ratios Fs/Fn, where Fs is t...

27일 전 | 2

| 수락됨

답변 있음
How to vectorize this for loop
For starters, why use symsum at all? Doesn't sum() do exactly what is needed? for t = 1:12054 k = 0:(12054 - t); L(t)...

29일 전 | 1

| 수락됨

답변 있음
Bode Plot's Phase Margin Decimal Precision
If you just want the actual phase (and other) margin to more accuracy and don't care about the pop-up data tip, use doc allmarg...

약 1달 전 | 0

답변 있음
vector direction calculation in order to remove impact of magnitude
I think you want something like this: mag = sqrt(u.^2 + v.^2); newu = u./mag; newv = v./mag; % now use newu and newv as inpu...

약 1달 전 | 0

답변 있음
How to model and simulate large nonlinear coupled mechanical systems effectively?
I think steps 2 and 3 can be replaced with: doc odeToVectorField If not, post a simple example to illustrate the problem.

약 1달 전 | 0

답변 있음
Very small u control values in LQR initial response
For this dicussion, I'm going to just use x and u as the symbols for the state and control variables of the linearized model, in...

약 1달 전 | 0

| 수락됨

질문


Is There a Way to Find all Shadowed Functions on the matlabpath?
I'm dealing with a code base of m-files all in one folder and sub-folders. I'm worried that different sub-folders contain files...

약 1달 전 | 답변 수: 1 | 0

1

답변

답변 있음
How to solve intergal for analytical form of ambiguity function
I was not able to get Matlab to return a solution in the expected form of the answer. But we can show that Matlab's solution is ...

약 1달 전 | 0

| 수락됨

답변 있음
How to determine if a signal in Simulink is within upper and lower limit bounds over a specified number of samples?
I'm going to assume that the signal in question is already sampled. Here's one approach. There are others. Input the signal to...

약 1달 전 | 0

| 수락됨

답변 있음
How to define the order of states and inputs of a state space model in Model Linearizer
If using the linearize() function, the inputs and outputs will be in the order specified in the io argument. The state ordering...

약 1달 전 | 0

| 수락됨

답변 있음
Is there a better method to plot the inverse Laplace of a function?
The copy/paste approach shouldn't be needed. For many functions, fplot() usually does the trick: syms s t U(s)=1/(s+1); u(t)...

약 1달 전 | 1

| 수락됨

더로드