Community Profile

photo

Harry


Last seen: 3 mesi fa Attivo dal 2014

Followers: 0   Following: 0

Contatto

Statistiche

  • First Review
  • Knowledgeable Level 2
  • First Answer

Visualizza badge

Feeds

Visto da

Domanda


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 ...

circa 3 anni fa | 0 risposte | 0

0

risposte

Domanda


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...

oltre 3 anni fa | 0 risposte | 0

0

risposte

Risposto
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...

circa 4 anni fa | 0

Domanda


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...

circa 4 anni fa | 1 risposta | 0

1

risposta

Risposto
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...

circa 5 anni fa | 0

| accettato

Domanda


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...

circa 5 anni fa | 1 risposta | 0

1

risposta

Domanda


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...

oltre 6 anni fa | 1 risposta | 1

1

risposta

Risposto
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...

oltre 9 anni fa | 0

| accettato

Risposto
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

oltre 9 anni fa | 0

Risposto
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(...

oltre 9 anni fa | 1

Risposto
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...

oltre 9 anni fa | 0

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

oltre 9 anni fa | 0

Risposto
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...

oltre 9 anni fa | 0

| accettato

Risposto
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

oltre 9 anni fa | 2

Risposto
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...

oltre 9 anni fa | 1

Risposto
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).

oltre 9 anni fa | 0

Domanda


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...

oltre 9 anni fa | 0 risposte | 0

0

risposte

Risposto
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...

oltre 9 anni fa | 3

| accettato

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

oltre 9 anni fa | 0

Risposto
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"). ...

oltre 9 anni fa | 0

Domanda


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...

oltre 9 anni fa | 0 risposte | 0

0

risposte

Risposto
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...

oltre 9 anni fa | 0

| accettato

Risposto
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...

oltre 9 anni fa | 6

| accettato