Questions tagged [magnitude]
74 questions
0
votes
1 answer
Magnitude Values within Fast Fourier Transformation FFT are different by constant input signal?
Within my Beat-Detection, I'm using a Fast Fourier Transformation to detect the bass within an audio Signal. Im recording a solo basedrum, not moving the sound or volume. After plotting the values over time. I get non constant values. They differ…

theholyfreq
- 11
- 4
0
votes
0 answers
Finding magnitude of vector in given direction
I am writing a tool in Unity3D which allows dragging points to resize shapes:
The drag points can only be moved along the surface normal (i.e. the example cube could not become deformed, only elongated).
Naturally the mouse can be dragged in any…

Vesuvian
- 697
- 1
- 7
- 22
0
votes
2 answers
How can i detect amplitude from FFT on Time-Domain signal
I have a signal of wave song and I have a problem with amplitudes.
%graph 1 time domain
song2 = song(1:size(song));
fs = 44100;
dt = 1/fs;
t = 0:dt:(length(song2)*dt)-dt;
figure();
plot(t,abs(song2)); xlabel('Seconds'); ylabel('Amplitude');
Then I…

Cvak
- 3
- 1
- 4
0
votes
1 answer
Converting decimal / binary to sign and magnitude,
I am researching how to convert a decimal number to a sign a magnitude number,
I understand that the number 19 in binary equates to 10011 as a binary string, however now i am stuck on converting this to a sign and magnitude number.
From my…

Bradley Cousins
- 187
- 6
- 17
0
votes
1 answer
Same magnitude on different axes?
Is it possible to take the magnitude of an object on one axis and put it inside of a variable and give it to a separate object on a different axis? Does magnitude not work that way?

theRelation
- 1
- 2
-1
votes
1 answer
How to fix y scale to include different magnitude orders to a barplot
I have several troubles plotting my data frame with ggplot2.
I haven't problems with the plotting itself. I have exactly the same distribution that I want. However, the plot shows only one part of the magnitude orders. The dataframe shows data at…

Cesar Barrientos
- 19
- 3
-1
votes
1 answer
how to concatenate input color image and gradient magnitude in python
concatenated image with gray and gradient magnitude
gradient magnitude image
input color image
i cant concatenate input color image and gradient magnitude
input = cv2.imread('figures/output.png')# 3 channel
input.astype(np.float32)
gray =…

허니브레드
- 17
- 7
-1
votes
1 answer
Find magnitude of 8D vector using python
I am trying to get output of primary capsule layer in capsule network. According to that I get 1152 number of 8D capsules.
Here is one example
[ 0.19123563 -0.11994515 -0.7150253 -0.35917872 -0.02346791 -0.32390958
0.40772104 -0.01656894]
I am…

Anusha Mehta
- 99
- 1
- 1
- 10
-1
votes
1 answer
How do I convert a number from sign and magnitude to twos complement?
Got this class for college which ill never need again, how can I convert a number from (ex 1100) to twos complement and reversed? Any online calculator that can do this? I understand what twos complement is and what sign and magnitude is, just dont…

Bnomik
- 1
-1
votes
1 answer
obtain the low pass signal and its magnitude spectrum also to plot the inphase and quadrature components of x(t) and the envelope of x(t)[MATLAB]
Unable to obtain the low pass signal and its magnitude spectrum .also to plot the inphase and quadrature components of x(t) and the envelope of x(t).
i have attached the question along too.
what is the mistake of the code,i have defined…

Nikki
- 13
- 4
-1
votes
2 answers
MATLAB obtain vector magnitude matrix
I have 2 matrices containing 2D data on spatial components of Vx and Vy motion vector components.
How to I easily combine the 2 matrices to obtain the magnitude matrix (sqrt(Vx^2+Vy^2))?

2one
- 1,035
- 3
- 17
- 36
-2
votes
1 answer
Displaying the magnitude of harmonics after FFT
I'm using Python. Input is a .csv file with timestamp, current (AC). I'm able to plot the FFT of a signal and I see the harmonics. I'd like to find and output(or display on the plot the x and y coordinates) the magnitude of the harmonics (e.g. every…

gliu
- 3
- 1
- 4
-3
votes
2 answers
C++ Vector Magnitude
I have been tasked with making a vector magnitude function in C++ as part of a maths library for a class project, however I am unsure how to go about this, if someone could recommend some pages to read and or give me some help that would be…

Steven Cowie
- 21
- 1
- 1
- 2
-4
votes
1 answer
How do I free pVect so that memory can be used again?
The code is
Vect::~Vect()
/*
PRE: None
POST: free pVect
*/
{
cout << "(__|| - DELETE (unlock the memory for): " << (*this) << endl;
// Put code below ....
}
Basically, I need it to correctly free pVect so that my other fuctions can…