photo

Harry


Last seen: ongeveer 2 maanden ago Active since 2014

Followers: 0   Following: 0

Message

Statistics

  • First Review
  • Knowledgeable Level 2
  • First Answer

View badges

Feeds

View by

Question


Why are my filters designed with fdesign so bad?
I am getting very poor bandpass and bandstop IIR filters designed using fdesign.bandpass and fdesign.bandstop, using any of the ...

bijna 4 jaar ago | 0 answers | 0

0

answers

Question


CORDIC help page gives inaccurate results
I am trying to use the code provided at this help page for computing square roots using CORDIC: https://uk.mathworks.com/help/f...

meer dan 4 jaar ago | 0 answers | 0

0

answers

Answered
Why does dsp.CICInterpolator prepend zeros?
I guess this ultimately comes down to how we view the initial state of the integrator stages. If we view the N integrator stages...

meer dan 4 jaar ago | 0

Question


Why does dsp.CICInterpolator prepend zeros?
The output of dsp.CICInterpolator is exactly what I expect, except with N zeros padded at the start. What is the idea behind the...

meer dan 4 jaar ago | 1 answer | 0

1

answer

Answered
Why does fread sometimes return incorrect values?
I had a look in a hex editor and noticed that the file somehow contains 9 bytes instead of 8 (with an extra x0d prepended at the...

meer dan 5 jaar ago | 0

| accepted

Question


Why does fread sometimes return incorrect values?
I regularly use MATLAB to analyse data generated elsewhere. Most commonly, I work with int16s and single precision floats. Howe...

meer dan 5 jaar ago | 1 answer | 0

1

answer

Question


WLAN Toolbox: A-MPDU length is wrong for 802.11ac (VHT) packets?
I am using Matlab 2017a with the WLAN Toolbox. As far as I can see, there is a bug in that the MPDU length is set incorrectly in...

ongeveer 7 jaar ago | 1 answer | 1

1

answer

Answered
Hi guys, I have two randomly generated variables and want to generate the third which is correlated with one of them and uncorrelated with the other. How can I generate such random variable?
With problems like this, I always think it is easiest to start with zero-mean, unit-power uncorrelated random variables. It's di...

ongeveer 10 jaar ago | 0

| accepted

Answered
Can anyone pls help me with the following code;
Your code is mostly correct, just remove the ")" at the end of your 'if' statement: if choice==1

ongeveer 10 jaar ago | 0

Answered
Error question :The expression to the left of the equals sign is not a valid target for an assignment
Try this: % Define a vector of time values dt = 0.01; t = 0:dt:2*pi; r = sqrt(17^2*cos(2*t)+sqrt(6^4-17^4*sin(...

ongeveer 10 jaar ago | 1

Answered
Arithmetic Decoding-Matlab Code
You can use the function *arithenco* to encode: http://www.mathworks.co.uk/help/comm/ref/arithenco.html and *arithdeco* to...

ongeveer 10 jaar ago | 0

Answered
how to rotate right ?
If your binary data is stored in a string, try this: x = '1001011011110100'; x_shifted = circshift(x,[0,4]); Otherwis...

ongeveer 10 jaar ago | 0

Answered
How can I prompt user to press some key on keyboard let us say 'c' in order to continue the program
Try this: clear all; clc; disp('The following assumptions are assumed during execution of the program:'); disp('1. Th...

ongeveer 10 jaar ago | 0

| accepted

Answered
in your LU decomp file exchange, what does the ' character do?
It is the complex conjugate transpose operator: http://www.mathworks.co.uk/help/matlab/ref/ctranspose.html

ongeveer 10 jaar ago | 2

Answered
for loop to sum up the integer
You are executing your 'for' loop for only one value, n. Also, I think you probably want to remove your totalsum variable (it do...

ongeveer 10 jaar ago | 1

Answered
i need a code for for haris corner detection to run in matlab 2012b
Do a web search for "Matlab Harris corner detector" (without quotes).

ongeveer 10 jaar ago | 0

Question


How does resampling work?
I want to understand resampling better, so I am trying to replicate the functionality of Matlab's resample() function. I get stu...

ongeveer 10 jaar ago | 0 answers | 0

0

answers

Answered
Help with Homework please Loops are hard
So, in the first case, you have to add 10 numbers together. In the second case, you have to add 20 numbers together. I'm sure yo...

ongeveer 10 jaar ago | 3

| accepted

Answered
Measuring intensity of sound
Here is the code you need: max_val = max(x); min_val = min(x); mean_val = mean(x);

ongeveer 10 jaar ago | 0

Answered
Sort and keep index of a n-dimension array
As I understand it, you have 2 dimensions of data. You have not specified how you want to sort them (e.g. "along dimension 1"). ...

ongeveer 10 jaar ago | 0

Question


How is the output size of UPFIRDN determined?
I want to understand resampling better, so I am trying to replicate the functionality of Matlab's built-in upfirdn() function. T...

ongeveer 10 jaar ago | 0 answers | 0

0

answers

Answered
Sum of all odd and even arrays in matrix
From your description, I think you want to do this: b = [sum(a(1:2:end,:)); sum(a(2:2:end,:))] However, I'm not sure why...

ongeveer 10 jaar ago | 0

| accepted

Answered
Finding the frequency value of a signal
Whenever you're interested in frequency content of a signal, the Fast Fourier Transform is often an excellent tool to use (see h...

ongeveer 10 jaar ago | 7

| accepted