random09983492
Followers: 0 Following: 0
Feeds
提问
Can an amplifier in Simulink receive its input from a workspace variable?
I am trying to model an amplifier using the Amplifier block in Simulink. I am familiar with driving the amplifier using a signal...
7 years 前 | 0 个回答 | 0
0
个回答提问
Problem with 64 bit WAV file using audiowrite
I am using a script to generate test wav files at different sampling rates and bit depths. So far everything has worked fine up ...
8 years 前 | 0 个回答 | 0
0
个回答已回答
array length is not what I've set...
The first time the loop executes it sets Hopt_new(90). The second time it sets Hopt_new(91). If you want to start at the f...
array length is not what I've set...
The first time the loop executes it sets Hopt_new(90). The second time it sets Hopt_new(91). If you want to start at the f...
8 years 前 | 0
| 已接受
已回答
Why is 'cp_2-feb-2016_1' invalid string in MATLAB?
Strings in Matlab must be surrounded by single quotes. For example: >> 'cp_2-feb-2016_1' ans = cp_2-feb-2016...
Why is 'cp_2-feb-2016_1' invalid string in MATLAB?
Strings in Matlab must be surrounded by single quotes. For example: >> 'cp_2-feb-2016_1' ans = cp_2-feb-2016...
9 years 前 | 0
已回答
Import columns from a CSV by header name
The csvread function is capable of doing what you want to do.
Import columns from a CSV by header name
The csvread function is capable of doing what you want to do.
9 years 前 | 0
| 已接受
已回答
Matlab is making small errors during computations
Check here: <http://matlab.wikia.com/wiki/FAQ#Why_is_0.3_-_0.2_-_0.1_.28or_similar.29_not_equal_to_zero.3F link> If you need...
Matlab is making small errors during computations
Check here: <http://matlab.wikia.com/wiki/FAQ#Why_is_0.3_-_0.2_-_0.1_.28or_similar.29_not_equal_to_zero.3F link> If you need...
11 years 前 | 1
| 已接受
已回答
Passing Variable Number of Arrays to a function with varargin
Hi Doug, varargin starts at index 1, not index 2. That should fix it up.
Passing Variable Number of Arrays to a function with varargin
Hi Doug, varargin starts at index 1, not index 2. That should fix it up.
11 years 前 | 0
| 已接受
已回答
How to find x,y matrix using for sintax
Hi, Here is my implementation. Let me know if there is something you do not understand. [r,c] = size(a); % Starts...
How to find x,y matrix using for sintax
Hi, Here is my implementation. Let me know if there is something you do not understand. [r,c] = size(a); % Starts...
11 years 前 | 0
| 已接受
已回答
How to find percentages of red, yellow, orange and green in an image?
Hi Siddharth, I would take a look at the imread function build into Matlab. For an RGB image of size M-by-N, it will import t...
How to find percentages of red, yellow, orange and green in an image?
Hi Siddharth, I would take a look at the imread function build into Matlab. For an RGB image of size M-by-N, it will import t...
11 years 前 | 0
已回答
How do I even open the Instrument Control Toolbox?
Hi Z, By default, toolboxes are not listed in your Win7 start menu (I'm not sure you can make them appear there). You can ope...
How do I even open the Instrument Control Toolbox?
Hi Z, By default, toolboxes are not listed in your Win7 start menu (I'm not sure you can make them appear there). You can ope...
11 years 前 | 0
| 已接受
已回答
how can I do time shifting of 0.001seconds in a dirac delta function and in a PN sequence. means i want p(n-.001) each time i try i get the following error :- Attempted to access PN1(1,0.999); index must be a positive integer or logical. my code is:
Hi Vaishali, Matlab array indices must be positive integers. PN1 is a matrix or array. PN1(x,y) specifies the array element a...
how can I do time shifting of 0.001seconds in a dirac delta function and in a PN sequence. means i want p(n-.001) each time i try i get the following error :- Attempted to access PN1(1,0.999); index must be a positive integer or logical. my code is:
Hi Vaishali, Matlab array indices must be positive integers. PN1 is a matrix or array. PN1(x,y) specifies the array element a...
11 years 前 | 0
已回答
Is it possible to combine strings and variables in a matrix?
Hi Z, Here are 2 solutions: 1. Change: disp [rate, duration] to: disp([rate, duration]) 2. Use fprintf state...
Is it possible to combine strings and variables in a matrix?
Hi Z, Here are 2 solutions: 1. Change: disp [rate, duration] to: disp([rate, duration]) 2. Use fprintf state...
11 years 前 | 2
已回答
Optimization of a simple IF-FOR loop
Hi Mohsen, A few things I will recommend: 1. Take advantage of Matlab's Profiler. Type profview in the Command Window to a...
Optimization of a simple IF-FOR loop
Hi Mohsen, A few things I will recommend: 1. Take advantage of Matlab's Profiler. Type profview in the Command Window to a...
11 years 前 | 0
已回答
Subscripted assignment dimension mismatch.
Hi Jonathan, Your problem is that the findpeaks function can return an empty array, [ ], or an array with multiple entries [p...
Subscripted assignment dimension mismatch.
Hi Jonathan, Your problem is that the findpeaks function can return an empty array, [ ], or an array with multiple entries [p...
11 years 前 | 0
提问
Indexing error using ezplot
Hi, I'm writing a code that uses symbolic variables and ezplot. My equation contains 17 variables, and I am trying to find the d...
12 years 前 | 0 个回答 | 0
0
个回答提问
Minute error in array causes == to be ineffective
Hi, I am trying to use an if statement using the == comparator to search an array of numbers. Something like this: for i = ...
12 years 前 | 2 个回答 | 0
2
个回答已回答
While Loop Help
I assume you will add items to the ship based solely on value/weight ratio? If so, this is quite simple. A while loop is writ...
While Loop Help
I assume you will add items to the ship based solely on value/weight ratio? If so, this is quite simple. A while loop is writ...
13 years 前 | 0
| 已接受
提问
Using EOF flag to change multimedia block parameters
Hi, I am wondering if it is possible to use the EOF flag on Simulink's 'From Multimedia File' block to trigger block parameter ...
13 years 前 | 1 个回答 | 0
1
个回答提问
fda tool not meeting frequency specifications
I'm developing an audio equalizer using MATLAB's fdatool, and I'm noticing some very strange things are happening. For low-frequ...
13 years 前 | 0 个回答 | 0