Answered
How can I write noise removal and blur deblur codes in a single matlab code using fft?
Performs noise removal, blurring, and deblurring operations using the Fast Fourier Transform (FFT) in MATLAB. This code assumes...

2 years ago | 0

| accepted

Answered
How to get the spatial profile of Bessel beam using matlab codes for any orders?
I have created a MATLAB code snippet that you can use to calculate and visualize the intensity profile of a Bessel-Gaussian beam...

2 years ago | 0

Solved


Doubling elements in a vector
Given the vector A, return B in which all numbers in A are doubling. So for: A = [ 1 5 8 ] then B = [ 1 1 5 ...

2 years ago

Solved


Vector creation
Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.

2 years ago

Solved


Create a vector
Create a vector from 0 to n by intervals of 2.

2 years ago

Solved


Flip the vector from right to left
Flip the vector from right to left. Examples x=[1:5], then y=[5 4 3 2 1] x=[1 4 6], then y=[6 4 1]; Request not ...

2 years ago

Solved


Whether the input is vector?
Given the input x, return 1 if x is vector or else 0.

2 years ago

Solved


Find max
Find the maximum value of a given vector or matrix.

2 years ago

Solved


Get the length of a given vector
Given a vector x, the output y should equal the length of x.

2 years ago

Solved


Inner product of two vectors
Find the inner product of two vectors.

2 years ago

Solved


Arrange Vector in descending order
If x=[0,3,4,2,1] then y=[4,3,2,1,0]

2 years ago

Solved


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

2 years ago

Solved


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

2 years ago

Answered
how to count repeated character in string ??
To count the occurrences of a specific character in a string in MATLAB, you can use the count function. str = 'aaaaaddddccceeee...

2 years ago | 0

Answered
Finding strings with common character
You can use a regular expression to separate the strings and then filter out the unique ones that start with 'G'. % Specify the...

2 years ago | 0

| accepted

Answered
Finding strings with common character
To achieve this in MATLAB, you would typically read the text file into a string array or cell array, then use string manipulatio...

2 years ago | 0

Answered
how view the content cell array
When you use regexp with the 'tokens' option, MATLAB returns a cell array of cell arrays. To access the contents of such a neste...

2 years ago | 0

Answered
For loop to enter values in array inputted by user.
% Initialize the array xn = []; % Start an infinite loop while true x = input('Insert the X components of signal (IN...

2 years ago | 0

Answered
code to sample a signal
% Define the signal frequency signalFrequency = 90; % in Hz % Define the number of cycles to plot numberOfCycles = 3; % for...

2 years ago | 0

Answered
Using linsapce between two points in plot to create a non linear line.
To plot a non-linear line between two points, you can create a set of points that follow the desired non-linear relationship and...

2 years ago | 1

Answered
Estimate the frequency and power spectra for a signal using Pwelch command
The issue seems to be with how you are indexing into Pxx and f inside the loop. You are using the loop variable pp to index into...

2 years ago | 0

Answered
How do I make my metaTable into a matrix instead of a 1x1 structure?
To create a table instead, the user should initialize a table before the loop and then add rows to it within the loop. % Initi...

2 years ago | 0

| accepted

Answered
How to trace cluster of minimum points from a set of images and plot it in a graph?
Read the Set of Images: Load each image in the set into the workspace. Identify Minimum Points: For each image, find the minimu...

2 years ago | 0

Answered
I can 't get to work the normalized units when I want to make annotation for my plot with the setting axis equal tight
When you use normalized units for annotations, the positions are relative to the figure, not the axes, and the calculation for n...

2 years ago | 0

Answered
moving a point from one location to another
If you're trying to animate a point moving from one position to another without redrawing the entire plot, you can use the handl...

2 years ago | 1

| accepted

Solved


Split Even Number Into Two Primes
Given an even whole number n (> 2), return a 2-element vector of primes, p, such that p(1) + p(2) = n. Fun note: technically it...

3 years ago

Solved


Determine if Input is Oddish or Evenish (Odd/Even Sum of Digits)
Given a positive integer n, determine whether n is "oddish" or "evenish" - that is, whether the sum of the digits of n is odd or...

3 years ago

Solved


Find Air Temperature from Cricket Stridulation Rate
Stridulation is the process that creates a cricket's “chirp” by rubbing their wings or legs. According to the Old Farmer's Alma...

3 years ago

Solved


Add two numbers
Given a and b, return the sum a+b in c.

3 years ago

Solved


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

3 years ago