Respondida
get specific magnitude response value given a specific frequency from a freqz graph
Hi! Try this: % Since you did not share Hz, I am loading tfData.mat load('tfData.mat','sys1'); Hz = sys1 ; [b, a] = tfda...

casi 4 años hace | 0

| aceptada

Respondida
How to convert Infinite sine frequency to Hanning window?
I recommend you to use windowDesigner App and wvtool tool, will help you to understand windowing. Perhaps this below is also he...

casi 4 años hace | 0

Respondida
Division of numbers and arrange??
A=[2 8 14 20 22 26 32 38 44 45] Divisible = [] ; NotDivisible = [] ; for index = 1:length(A) b = A(index) ; if mod(b...

casi 4 años hace | 0

Respondida
Please I have a code, when I run, it keeps saying: "Error using grid First argument must be an axes handle".
This grid minor off is not correct . Learn how to use grid: doc grid Try this: xlabel('Energy (MeV)') ylabel('Energy int...

casi 4 años hace | 0

| aceptada

Respondida
signal manually analysis matlab
% Some dummy data emg_signal = [-10*ones(4000,1) ; -500*ones(8000,1); -15*ones(6000,1) ] ; % emcg_signal = 1rand() figure...

casi 4 años hace | 0

Respondida
How to determine eigenvalues and eigenvectors?
Use eig A = [3,9;3,5]; [eVecs, eVals] = eig(A) Eigenvalues are the diagonal elements of eVals. To get them use diag eValue...

casi 4 años hace | 0

Resuelto


SatCom #4: Satellite Orbit Altitude
Satellite and Space Engineering - Problem #4 This is part of a series of problems looking at topics in satellite and space comm...

casi 4 años hace

Resuelto


SatCom #3: Free Space Path Loss
*Satellite and Space Engineering - Problem #3* _This is part of a series of problems looking at topics in satellite and space...

casi 4 años hace

Resuelto


SatCom #2: Gain of a circular 'dish' antenna
Satellite and Space Engineering - Problem #2 This is part of a series of problems looking at topics in satellite and space comm...

casi 4 años hace

Resuelto


SatCom #1: Wavelength of an electomagnetic wave
*Satellite and Space Engineering - Problem #1* _This is the first of a series of problems looking at topics in satellite and ...

casi 4 años hace

Respondida
finverse for function handle
Not every function has an inverse. That's a warning not an error and I believe it is because your function does not have an in...

casi 4 años hace | 1

Respondida
Combining and Visualizing two histograms
Hi! Use hold on, will be displayed in 2 different colors. Example 1: x = randi(10,20,1) ; y = randi(10,20,1) ; histogram(x...

casi 4 años hace | 0

| aceptada

Respondida
How to create a simple matrix from two different kind of matrix size ?
Hi ! Try this: M1 = rand(2,5,2) ; M2 = rand(2,5) ; M = [M1(:,:,1) M1(:,:,2) M2] ; size(M) Maybe there is a better way to d...

casi 4 años hace | 0

Resuelto


Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

casi 4 años hace

Respondida
No documentation for function 'gsb' (get selected blocks)
You re right, online there is no documentation. However, an offline documentation for gsb is available (kind of help). Try thi...

casi 4 años hace | 0

| aceptada

Respondida
To find histogram of a particular cell of a cell array
% Dont have data, creating dummy vector and cell and adding dummy vector to the % the cell dummyVec = randi(50, [1 1295]) ; C...

casi 4 años hace | 0

| aceptada

Respondida
for loop to build an rfckt.cascade
Hi @ENRICO SILVESTRI ; Hope this is what you are looking for: amp = rfckt.amplifier('IntpType','cubic'); txl1 = rfckt.txlin...

casi 4 años hace | 0

Respondida
how to make log axis scale
Hi! Try to use semilogy(X,Y) instead of plot. clear all; load 'X_theta.txt'; X=X_theta; load 'Y_POE.txt'; Y=Y_POE; semi...

casi 4 años hace | 0

| aceptada

Respondida
how to plot the function
Try this: clear close all N = 10 ; x = -N:0.5:N; y = x; [X, Y] = meshgrid(x, y); f = @(x,y)(0.18*x + 0.003*x.*y +...

casi 4 años hace | 1

Respondida
Compare strings which contains the same pattern by ignoring case sensitivity and some expressions like underscores
Unify strings first using eiither upper or lower. % learn about the functions doc upper doc lower % Examples upper("abcd"...

casi 4 años hace | 0

Resuelto


Finding Perfect Squares
Given a vector of numbers, return true if one of the numbers is a square of one of the numbers. Otherwise return false. Example...

casi 4 años hace

Resuelto


Generate a vector like 1,2,2,3,3,3,4,4,4,4
Generate a vector like 1,2,2,3,3,3,4,4,4,4 So if n = 3, then return [1 2 2 3 3 3] And if n = 5, then return [1 2 2 3 3 3 4...

casi 4 años hace

Resuelto


Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

casi 4 años hace

Respondida
I have done the FFT analysis of a real time data. Please check weather am i right or not ?
Hi! Looks correct to me your spectral analysis! Screenshot from Signal Analyzer App. This app allows MATLAB script generation....

casi 4 años hace | 0

| aceptada

Resuelto


Roll the Dice!
*Description* Return two random integers between 1 and 6, inclusive, to simulate rolling 2 dice. *Example* [x1,x2] =...

casi 4 años hace

Resuelto


Make a random, non-repeating vector.
This is a basic MATLAB operation. It is for instructional purposes. --- If you want to get a random permutation of integer...

casi 4 años hace

Resuelto


Magic is simple (for beginners)
Determine for a magic square of order n, the magic sum m. For example m=15 for a magic square of order 3.

casi 4 años hace

Resuelto


Swap the first and last columns
Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...

casi 4 años hace

Resuelto


Sum all integers from 1 to 2^n
Given the number x, y must be the summation of all integers from 1 to 2^x. For instance if x=2 then y must be 1+2+3+4=10.

casi 4 años hace

Resuelto


Number of 1s in a binary string
Find the number of 1s in the given binary string. Example. If the input string is '1100101', the output is 4. If the input stri...

casi 4 años hace

Cargar más