Réponse apportée
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...

plus de 3 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 3 ans il y a | 0

Réponse apportée
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...

plus de 3 ans il y a | 0

Réponse apportée
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...

plus de 3 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 3 ans il y a | 0

Réponse apportée
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...

plus de 3 ans il y a | 0

A résolu


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

plus de 3 ans il y a

A résolu


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

plus de 3 ans il y a

A résolu


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

plus de 3 ans il y a

A résolu


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

plus de 3 ans il y a

Réponse apportée
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...

plus de 3 ans il y a | 1

Réponse apportée
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...

plus de 3 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 3 ans il y a | 0

A résolu


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

plus de 3 ans il y a

Réponse apportée
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...

plus de 3 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 3 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 3 ans il y a | 0

Réponse apportée
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...

plus de 3 ans il y a | 0

| A accepté

Réponse apportée
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 +...

plus de 3 ans il y a | 1

Réponse apportée
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"...

plus de 3 ans il y a | 0

A résolu


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

plus de 3 ans il y a

A résolu


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

plus de 3 ans il y a

A résolu


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

plus de 3 ans il y a

Réponse apportée
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....

plus de 3 ans il y a | 0

| A accepté

A résolu


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

plus de 3 ans il y a

A résolu


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

plus de 3 ans il y a

A résolu


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.

plus de 3 ans il y a

A résolu


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

plus de 3 ans il y a

A résolu


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.

plus de 3 ans il y a

A résolu


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

plus de 3 ans il y a

Charger plus