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

oltre 3 anni fa | 0

| accettato

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

oltre 3 anni fa | 0

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

oltre 3 anni fa | 0

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

oltre 3 anni fa | 0

| accettato

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

oltre 3 anni fa | 0

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

oltre 3 anni fa | 0

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

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

oltre 3 anni fa | 1

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

oltre 3 anni fa | 0

| accettato

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

oltre 3 anni fa | 0

Risolto


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

oltre 3 anni fa

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

oltre 3 anni fa | 0

| accettato

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

oltre 3 anni fa | 0

| accettato

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

oltre 3 anni fa | 0

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

oltre 3 anni fa | 0

| accettato

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

oltre 3 anni fa | 1

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

oltre 3 anni fa | 0

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

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

oltre 3 anni fa | 0

| accettato

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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.

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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.

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Carica altro