統計
All
Feeds
回答済み
how to implement a non-causal system?
In general (but not always), causality of a linear, time invariant (LTI) system cannot be determined by inspection of the diffe...
how to implement a non-causal system?
In general (but not always), causality of a linear, time invariant (LTI) system cannot be determined by inspection of the diffe...
7日 前 | 0
質問
How Can Short-Circuiting Logical Operators &&, II be Overloaded in a Classdef?
Logical and - Find logical AND - MATLAB and logical or - Find logical OR - MATLAB can be overloaded for classes with functions "...
13日 前 | 1 件の回答 | 1
1
回答回答済み
anonymous function with rng call inside
t = 2*(rand(1,1000)-0.5)*100; figure plot(t,f(t,10),'b.',t,f(t,10),'r.') function y = f(t,interval) tinterval = ceil(t/in...
anonymous function with rng call inside
t = 2*(rand(1,1000)-0.5)*100; figure plot(t,f(t,10),'b.',t,f(t,10),'r.') function y = f(t,interval) tinterval = ceil(t/in...
14日 前 | 0
回答済み
Find symbolic solution with intermediate variables of a cubic equation
Check the "AbbreviateOutput" setting of sympref
Find symbolic solution with intermediate variables of a cubic equation
Check the "AbbreviateOutput" setting of sympref
15日 前 | 0
| 採用済み
回答済み
Importing space-delimited files where there are spaces in data fields
T = readtable('timing_log.96278.txt',NumHeaderLines=4,VariableNamesLine=3); T(end-1:end,:) = []; T.description = strtrim(strin...
Importing space-delimited files where there are spaces in data fields
T = readtable('timing_log.96278.txt',NumHeaderLines=4,VariableNamesLine=3); T(end-1:end,:) = []; T.description = strtrim(strin...
16日 前 | 1
回答済み
Two sided laplace transform
No, there is not, at least not directly. However, the two-sided Laplace transform of f(t) can be developed by expressing f(t) ...
Two sided laplace transform
No, there is not, at least not directly. However, the two-sided Laplace transform of f(t) can be developed by expressing f(t) ...
21日 前 | 0
質問
Is There a Way to Control Which Folders are Stored in the Drop Down History?
I have a workflow on Linux that needs to do lots of file i/o that goes something like this: 1. Store the originating folder wit...
約1ヶ月 前 | 1 件の回答 | 0
1
回答回答済み
Possibility of Using a State-Space Actuator in a Robot Created with Simscape Multibody
Without more info ... I'm pretty sure the answer is yes. The output of the State Space block can be sent into the Simscape Multi...
Possibility of Using a State-Space Actuator in a Robot Created with Simscape Multibody
Without more info ... I'm pretty sure the answer is yes. The output of the State Space block can be sent into the Simscape Multi...
約1ヶ月 前 | 0
回答済み
Why I do not see the correct transfer function
Hi Zeyuan, Is G1 defined correctly? If it is, or if stil having trouble after correcting it, it would be easier to help with a...
Why I do not see the correct transfer function
Hi Zeyuan, Is G1 defined correctly? If it is, or if stil having trouble after correcting it, it would be easier to help with a...
約2ヶ月 前 | 0
| 採用済み
質問
Why is vecnorm So Slow?
Why is vecnorm so much slower than the raw calculation and why does such difference increase as the input gets larger. I can see...
約2ヶ月 前 | 1 件の回答 | 0
1
回答質問
Does solve Return an Appropriate Solution for a System of Rational Equations?
Consider a system of equations with LHS being rational functions in two variables. syms x y g = (x-1)/(y-2) == 0; h = (y-2)/(...
2ヶ月 前 | 0 件の回答 | 2
0
回答回答済み
Help using the toeplitz function
"-2 going to down the main diagonal and then 1 in the upper dioagonal and 1 in the lower diagonal." That's symmetric so only on...
Help using the toeplitz function
"-2 going to down the main diagonal and then 1 in the upper dioagonal and 1 in the lower diagonal." That's symmetric so only on...
3ヶ月 前 | 1
回答済み
List all memoized function caches
mf1 = memoize(@func1); mf2 = memoize(@func2); for ii = 1:10,mf1(ii);mf2(ii);end clear mf1 mf2 mfs = struct(matlab.lang.inter...
List all memoized function caches
mf1 = memoize(@func1); mf2 = memoize(@func2); for ii = 1:10,mf1(ii);mf2(ii);end clear mf1 mf2 mfs = struct(matlab.lang.inter...
3ヶ月 前 | 1
| 採用済み
回答済み
List all memoized function caches
Hi Matt, Is evalin acceptable? clearvars clearAllMemoizedCaches; mf1a = memoize(@func1); mf1b = memoize(@func1); mf2 = me...
List all memoized function caches
Hi Matt, Is evalin acceptable? clearvars clearAllMemoizedCaches; mf1a = memoize(@func1); mf1b = memoize(@func1); mf2 = me...
3ヶ月 前 | 0
回答済み
Make memoized function calls recognize equivalent input sequences (and so avoid redundant cache entries)
That's interesting and seems to suggest that the input argument list is saved off to some data structure (like a cell array?) be...
Make memoized function calls recognize equivalent input sequences (and so avoid redundant cache entries)
That's interesting and seems to suggest that the input argument list is saved off to some data structure (like a cell array?) be...
3ヶ月 前 | 1
| 採用済み
質問
What's the Best Way to Convert a .mat File from -v4 format to -v7 Format?
Is there a better way than reading all of the data from the -v4 .mat file and then saving all of the data to a -v7? data = load...
3ヶ月 前 | 1 件の回答 | 0
1
回答回答済み
Innerjoin when a table contains user-defined objects
Hi Matt, I think the class defintion has to change so that the myclass constructor can accept zero arguments. I believe that w...
Innerjoin when a table contains user-defined objects
Hi Matt, I think the class defintion has to change so that the myclass constructor can accept zero arguments. I believe that w...
3ヶ月 前 | 0
| 採用済み
回答済み
Integral from a function that has a singularity
According to quadgk, for an integrand with a singularity we should "split the interval and add the results of separate integrati...
Integral from a function that has a singularity
According to quadgk, for an integrand with a singularity we should "split the interval and add the results of separate integrati...
3ヶ月 前 | 0
質問
Does Matlab Take Full Advantage of the BLAS Routines?
It's my understanding that Matlab uses BLAS routines under the hood for many matrix algebra operations. Is that correct? If so,...
3ヶ月 前 | 1 件の回答 | 0
1
回答回答済み
Memoize an anonymous function with externally scoped variables
[Matt J added:] "... MATLAB® returns the associated cached output values if the following conditions are true. The input argum...
Memoize an anonymous function with externally scoped variables
[Matt J added:] "... MATLAB® returns the associated cached output values if the following conditions are true. The input argum...
4ヶ月 前 | 1
| 採用済み
回答済み
Solution of ODE with Symbolic Math Toolbox.
Use rewrite to get the solution in terms of heaviside. syms("t", "positive") syms("T_1", "k_p", "positive") syms("u(t)", "y(t...
Solution of ODE with Symbolic Math Toolbox.
Use rewrite to get the solution in terms of heaviside. syms("t", "positive") syms("T_1", "k_p", "positive") syms("u(t)", "y(t...
4ヶ月 前 | 0
| 採用済み
回答済み
BodePlot: Plotting straight lines on the Mag and Phase plots. Can access the phase plot, to do so, but not the mag plot
Looks like the mag and phase axes were reversed, specify the axis input to the line commands. The NextPlot commands aren't neede...
BodePlot: Plotting straight lines on the Mag and Phase plots. Can access the phase plot, to do so, but not the mag plot
Looks like the mag and phase axes were reversed, specify the axis input to the line commands. The NextPlot commands aren't neede...
5ヶ月 前 | 0
| 採用済み
回答済み
chebyshev II BPF magnitude response is not equal to 1 in the passband - incorrect magnitude response when using freqz(b,a)
Hi Mohamad, When using the two-output form of zp2sos the gain, g, must be applied to the output of freqz to get the correct fre...
chebyshev II BPF magnitude response is not equal to 1 in the passband - incorrect magnitude response when using freqz(b,a)
Hi Mohamad, When using the two-output form of zp2sos the gain, g, must be applied to the output of freqz to get the correct fre...
5ヶ月 前 | 1
回答済み
How to approach iterative data reading?
Hi Eric, Use logical indexing. time = [rand(1, 5000)]; accel = [rand(1,5000)]; gcamp = [rand(1,5000)]; sd = std(accel); th...
How to approach iterative data reading?
Hi Eric, Use logical indexing. time = [rand(1, 5000)]; accel = [rand(1,5000)]; gcamp = [rand(1,5000)]; sd = std(accel); th...
5ヶ月 前 | 0
| 採用済み
回答済み
how to use mussv with negative frequency?
mussv appears to run w/o error for a complex-valued state space model and does extend its analysis to negative frequencies. Alt...
how to use mussv with negative frequency?
mussv appears to run w/o error for a complex-valued state space model and does extend its analysis to negative frequencies. Alt...
5ヶ月 前 | 1
Discussion
550,000 Questions on Answers
The 550,000th question has been asked on Answers. How to build a BESS model phasor system - MATLAB Answers - MATLAB Central
5ヶ月 前 | 0
質問
Why Does polyval Return Zero When the Coefficients are Empty?
polyval([],1) polyval(ones(1,0),1) Do those results follow from a mathematical justification or are they arbitrarily specified...
5ヶ月 前 | 3 件の回答 | 1
3
回答回答済み
pwelch method of power spectral density (psd) calculation
As to why pwelch applies datawrap for the case nfft < numel(win) ... I did a bit more searching to try to find the motivation f...
pwelch method of power spectral density (psd) calculation
As to why pwelch applies datawrap for the case nfft < numel(win) ... I did a bit more searching to try to find the motivation f...
5ヶ月 前 | 0
回答済み
Zero gain margin for an stable system from both allmargin and margin
I believe that allmargin yields a result that a user could incorrectly interpret for this example. Define the open-loop transfe...
Zero gain margin for an stable system from both allmargin and margin
I believe that allmargin yields a result that a user could incorrectly interpret for this example. Define the open-loop transfe...
5ヶ月 前 | 0
回答済み
Direct Dynamics of Two-Link Manipulator
It looks like the Matlab Function block is commented. Right click on it and then click Uncomment on the pop-up menu.
Direct Dynamics of Two-Link Manipulator
It looks like the Matlab Function block is commented. Right click on it and then click Uncomment on the pop-up menu.
6ヶ月 前 | 0






