답변 있음
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년 초과 전 | 0

| 수락됨

답변 있음
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년 초과 전 | 0

답변 있음
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년 초과 전 | 0

답변 있음
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년 초과 전 | 0

| 수락됨

답변 있음
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년 초과 전 | 0

답변 있음
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년 초과 전 | 0

문제를 풀었습니다


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년 초과 전

문제를 풀었습니다


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년 초과 전

문제를 풀었습니다


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년 초과 전

문제를 풀었습니다


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년 초과 전

답변 있음
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년 초과 전 | 1

답변 있음
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년 초과 전 | 0

| 수락됨

답변 있음
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년 초과 전 | 0

문제를 풀었습니다


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

3년 초과 전

답변 있음
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년 초과 전 | 0

| 수락됨

답변 있음
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년 초과 전 | 0

| 수락됨

답변 있음
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년 초과 전 | 0

답변 있음
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년 초과 전 | 0

| 수락됨

답변 있음
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년 초과 전 | 1

답변 있음
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년 초과 전 | 0

문제를 풀었습니다


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년 초과 전

문제를 풀었습니다


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년 초과 전

문제를 풀었습니다


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년 초과 전

답변 있음
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년 초과 전 | 0

| 수락됨

문제를 풀었습니다


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

3년 초과 전

문제를 풀었습니다


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년 초과 전

문제를 풀었습니다


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년 초과 전

문제를 풀었습니다


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년 초과 전

문제를 풀었습니다


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년 초과 전

문제를 풀었습니다


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년 초과 전

더 보기