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

3 years ago | 0

| accepted

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

3 years ago | 0

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

3 years ago | 0

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

3 years ago | 0

| accepted

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

3 years ago | 0

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

3 years ago | 0

Solved


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

3 years ago

Solved


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

3 years ago

Solved


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

3 years ago

Solved


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

3 years ago

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

3 years ago | 1

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

3 years ago | 0

| accepted

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

3 years ago | 0

Solved


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

3 years ago

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

3 years ago | 0

| accepted

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

3 years ago | 0

| accepted

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

3 years ago | 0

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

3 years ago | 0

| accepted

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

3 years ago | 1

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

3 years ago | 0

Solved


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

3 years ago

Solved


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

3 years ago

Solved


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

3 years ago

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

3 years ago | 0

| accepted

Solved


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

3 years ago

Solved


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

3 years ago

Solved


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.

3 years ago

Solved


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

3 years ago

Solved


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.

3 years ago

Solved


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

3 years ago

Load more