Feeds
已回答
Applying a gain to a bus while preserving the signal name assignments
I doubt that signal names can propagate through a Gain - Multiply input by constant - Simulink block. That block is not listed a...
Applying a gain to a bus while preserving the signal name assignments
I doubt that signal names can propagate through a Gain - Multiply input by constant - Simulink block. That block is not listed a...
2 days 前 | 0
已回答
unwrapped phase in bode plot
If using bodeplot to make the plot, then use the plotoptions returned from bodeoptions with PhaseWrapping 'on', For example h ...
unwrapped phase in bode plot
If using bodeplot to make the plot, then use the plotoptions returned from bodeoptions with PhaseWrapping 'on', For example h ...
9 days 前 | 0
已回答
How to Plot Phase Response of Discrete Time Fourier Transform (DTFT)?
Not doing anything wrong. The DTFT of a real, even signal is real and even, but that doesn't mean the DTFT is everywhere positiv...
How to Plot Phase Response of Discrete Time Fourier Transform (DTFT)?
Not doing anything wrong. The DTFT of a real, even signal is real and even, but that doesn't mean the DTFT is everywhere positiv...
9 days 前 | 0
已回答
How do you get the DTFT from the FFT?
Yes, the blog post by @Steve Eddins is accurate. As to why zero-padding works ... Let x[n] be a discrete-time signal. Its Disc...
How do you get the DTFT from the FFT?
Yes, the blog post by @Steve Eddins is accurate. As to why zero-padding works ... Let x[n] be a discrete-time signal. Its Disc...
9 days 前 | 0
| 已接受
Discussion
The Ran In Info is Not Updated to R2026b
The Ran In tag still shows R2026a on Answers and Discussions (as does the Executing In popup), even though both are actually run...
21 days 前 | 0
已回答
convolution integral of two continious time signals
Because the signals in question are functions of n, and n typically denotes an integer, we can assume the question is really abo...
convolution integral of two continious time signals
Because the signals in question are functions of n, and n typically denotes an integer, we can assume the question is really abo...
22 days 前 | 0
提问
Is There Any Practical Difference Between Extraction and Deletion When Reducing a Vector?
By extraction, I mean % x = x(indexkeep); By deletion, I mean % x(indexdelete) = [] Is there any practical difference betw...
28 days 前 | 2 个回答 | 2
2
个回答已回答
Plotting the convolution of two signals
Define the signals and plot them syms t tau real u(t) = heaviside(t); x(t) = 5*(u(t+1)-u(t-1)); h(t) = u(t-1) - u(t-7); fig...
Plotting the convolution of two signals
Define the signals and plot them syms t tau real u(t) = heaviside(t); x(t) = 5*(u(t+1)-u(t-1)); h(t) = u(t-1) - u(t-7); fig...
1 month 前 | 0
提问
Is it More Efficient to Load a Subset of Variables from a .mat File Rather than All of the Variables?
Suppose I have a .mat file and an application that only needs to use a subset of the variables in the .mat file. Option 1: s =...
1 month 前 | 4 个回答 | 1
4
个回答已回答
Help with tfest function. Resulting transfer function deviates from input on either side of freq range.
Hi Jared, Maybe look into the WeightingFilter opton of tfestOptions. I tried with 'inv' below and seemed to get a result more i...
Help with tfest function. Resulting transfer function deviates from input on either side of freq range.
Hi Jared, Maybe look into the WeightingFilter opton of tfestOptions. I tried with 'inv' below and seemed to get a result more i...
1 month 前 | 0
| 已接受
提问
Is rowfun Showing Strange Behavior when the Target Function Returns an Empty Output?
Define a function that echos a scalar input, unless the input is 3, which returns an empty row vector 1x0. function y = fun1(x)...
1 month 前 | 2 个回答 | 3
2
个回答已回答
Problem making it past line 8 - no error given
It's probably just taking a very long time to compute the symbolic solution at each value of trange. One option, shown below, is...
Problem making it past line 8 - no error given
It's probably just taking a very long time to compute the symbolic solution at each value of trange. One option, shown below, is...
2 months 前 | 0
| 已接受
已回答
Does anyone know why no matter what I change, I cant get dsolve to work?
It works just fine here in R2026a and worked fine in 2024a. As well. When you run the code,do you get the exact same output as ...
Does anyone know why no matter what I change, I cant get dsolve to work?
It works just fine here in R2026a and worked fine in 2024a. As well. When you run the code,do you get the exact same output as ...
2 months 前 | 0
| 已接受
提问
How Does Symbolic Math Toolbox Define Differentiation of a Complex Function?
The doc page diff - Differentiate symbolic expression or function - MATLAB is essentially silent on how diff handles differentia...
2 months 前 | 2 个回答 | 1
2
个回答提问
Why Does sym(cell) Not Return a Cell?
As far as I can tell, there is no documented behavior for calling sym with single input that's a cell. Nevertheless, if doing so...
2 months 前 | 1 个回答 | 0
1
个回答提问
Can Same Commands in Debugger and Command Window Exhibit Different Behavior?
I was debugging what I'm pretty sure is a bug (or at least an inconsistency) in @doc:subs and came across a behavior that I don'...
2 months 前 | 1 个回答 | 1
1
个回答已回答
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...
2 months 前 | 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 "...
2 months 前 | 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...
2 months 前 | 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
2 months 前 | 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...
2 months 前 | 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) ...
3 months 前 | 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...
3 months 前 | 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...
3 months 前 | 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...
4 months 前 | 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...
4 months 前 | 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)/(...
4 months 前 | 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...
5 months 前 | 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...
5 months 前 | 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...
5 months 前 | 0






