![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/6699187.jpg)
Brian Neiswander
MathWorks
Followers: 1 Following: 0
All comments and opinions expressed here are mine alone and do not necessarily reflect those of my employers, past or present.
Feeds
已提交
"Getting Started with Simulink for Controls" example files
Models for the solar panel example shown in the "Getting Started with Simulink for Controls" video
4 years 前 | 57 次下载 |
![Thumbnail](/matlabcentral/mlc-downloads/downloads/584ab3e6-675b-4b88-9415-ac5e4e5f2062/93d80c63-9d34-4e53-aec2-32a7ceaf87f2/images/screenshot.png)
已回答
Assigning Attributes to the entity in simulink
You can use a |<https://www.mathworks.com/help/matlab/ref/switch.html switch>| statement to assign values to the |ServiceTime| a...
Assigning Attributes to the entity in simulink
You can use a |<https://www.mathworks.com/help/matlab/ref/switch.html switch>| statement to assign values to the |ServiceTime| a...
6 years 前 | 1
| 已接受
已回答
finddelay returns identical value (0) for "best" and "worst" case.
Hi Evan, The "finddelay" function does not consider the strength of the correlation found. Given two signals, it simply retu...
finddelay returns identical value (0) for "best" and "worst" case.
Hi Evan, The "finddelay" function does not consider the strength of the correlation found. Given two signals, it simply retu...
9 years 前 | 0
已回答
re-build time series from pwelch after removing peaks in the spectra
Hi Richard, I recommend using a band-stop filter rather than manually removing a peak from the spectra and then recreating th...
re-build time series from pwelch after removing peaks in the spectra
Hi Richard, I recommend using a band-stop filter rather than manually removing a peak from the spectra and then recreating th...
9 years 前 | 0
已回答
Multitaper spectral estimation (pmtm.m)
I was able to run the code you posted in R2015a without an error. The error you see may be caused by a local "dpss" function th...
Multitaper spectral estimation (pmtm.m)
I was able to run the code you posted in R2015a without an error. The error you see may be caused by a local "dpss" function th...
9 years 前 | 1
| 已接受
已回答
How I can remove orbital error from ROI-PAC result?
I understand that you would like to remove orbital fringes from unwrapped SAR data. This really depends on the nature of the de...
How I can remove orbital error from ROI-PAC result?
I understand that you would like to remove orbital fringes from unwrapped SAR data. This really depends on the nature of the de...
9 years 前 | 0
| 已接受
已回答
Simulink Data Cube Accumulation
One approach is to use the "Buffer" block to create data frames and then use a "To Workspace" block to write the frames to a wor...
Simulink Data Cube Accumulation
One approach is to use the "Buffer" block to create data frames and then use a "To Workspace" block to write the frames to a wor...
9 years 前 | 0
已回答
Separate touching drops in Binary image
The "watershed" approach should be able to handle this problem. Even though the "watershed" function splits the edges into sepa...
Separate touching drops in Binary image
The "watershed" approach should be able to handle this problem. Even though the "watershed" function splits the edges into sepa...
9 years 前 | 3
已回答
Many small Eigenvalue Decompositions in parallel on GPU?
The "pagefun" function does not currently support the function "eig". However, note that the "eig" function will accept GPU a...
Many small Eigenvalue Decompositions in parallel on GPU?
The "pagefun" function does not currently support the function "eig". However, note that the "eig" function will accept GPU a...
9 years 前 | 3
已回答
Creating Karatsuba's algorithm with Matlab
From your description of the problem, it sounds to me like you need to create a recursive algorithm to solve this problem. See ...
Creating Karatsuba's algorithm with Matlab
From your description of the problem, it sounds to me like you need to create a recursive algorithm to solve this problem. See ...
9 years 前 | 1
已回答
How do I calibrate array in MATLAB using 3 variables??
I understand that you have three distinct vectors "a", "b", and "c". From your descriptions: * "a" contains un-calibrated m...
How do I calibrate array in MATLAB using 3 variables??
I understand that you have three distinct vectors "a", "b", and "c". From your descriptions: * "a" contains un-calibrated m...
9 years 前 | 3
已回答
Plotting hourly values using datetick
One approach is to explicitly set the "XTick" property of the axes using date number values. As an example, let's assume that y...
Plotting hourly values using datetick
One approach is to explicitly set the "XTick" property of the axes using date number values. As an example, let's assume that y...
9 years 前 | 1
已回答
Use of time Series
Using a simple linear interpolation should be the easiest method to accomplish this. Let's say you have some sample measureme...
Use of time Series
Using a simple linear interpolation should be the easiest method to accomplish this. Let's say you have some sample measureme...
9 years 前 | 2
已回答
getting error when activating
This issue can occur if your system (eg. Windows) username contains special characters. To resolve this issue, try creating a n...
getting error when activating
This issue can occur if your system (eg. Windows) username contains special characters. To resolve this issue, try creating a n...
9 years 前 | 1
已回答
Oblate Spheroid Class setting C
Given the general equation of an ellipsoid: (x/A)^2 + (y/B)^2 + (z/C)^2 = 1 The spheroid is a special case of an ellipso...
Oblate Spheroid Class setting C
Given the general equation of an ellipsoid: (x/A)^2 + (y/B)^2 + (z/C)^2 = 1 The spheroid is a special case of an ellipso...
9 years 前 | 0
已回答
Extract Frequency, Amplitude and Phase of Logarithmic chirp
You can get instantaneous amplitude envelope, phase, and frequency information from a signal using the Hilbert transform. In MAT...
Extract Frequency, Amplitude and Phase of Logarithmic chirp
You can get instantaneous amplitude envelope, phase, and frequency information from a signal using the Hilbert transform. In MAT...
9 years 前 | 2
| 已接受
已回答
Can i add an image to an axes without a push button
As Brendan mentioned, you can accomplish this using the "KeyPressFcn" property of the figure window. This property allows you t...
Can i add an image to an axes without a push button
As Brendan mentioned, you can accomplish this using the "KeyPressFcn" property of the figure window. This property allows you t...
9 years 前 | 2
已回答
Save an image with a different name using GUI
The function "savefig" was introduced in MATLAB R2013b. If you are using a version earlier than MATLAB R2013b, try using: ...
Save an image with a different name using GUI
The function "savefig" was introduced in MATLAB R2013b. If you are using a version earlier than MATLAB R2013b, try using: ...
9 years 前 | 1
已解决
Find all elements less than 0 or greater than 10 and replace them with NaN
Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...
9 years 前
已解决
Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...
9 years 前
已解决
Column Removal
Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; and ...
9 years 前
已解决
Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...
9 years 前
已解决
Determine if input is odd
Given the input n, return true if n is odd or false if n is even.
9 years 前
已解决
Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...
9 years 前
已解决
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...
9 years 前
已解决
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:...
9 years 前