photo

Sufiyan

MathWorks

Last seen: 6 giorni fa Attivo dal 2023

Followers: 0   Following: 0

I am an Intern at MathWorks. My responsibility is to provide the best support for an application like Image processing, Signal processing, HDL. DISCLAIMER: Any advice or opinions here are my own, and in no way reflect that of MathWorks.

Statistica

All
  • Community Group Solver
  • 3 Month Streak
  • Knowledgeable Level 2
  • First Answer
  • Solver

Visualizza badge

Feeds

Visto da

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

circa un anno fa

Risolto


Getting the indices from a vector
This is a basic MATLAB operation. It is for instructional purposes. --- You may already know how to <http://www.mathworks....

circa un anno 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...

circa un anno fa

Risolto


Return area of square
Side of square=input=a Area=output=b

circa un anno fa

Risolto


Maximum value in a matrix
Find the maximum value in the given matrix. For example, if A = [1 2 3; 4 7 8; 0 9 1]; then the answer is 9.

circa un anno fa

Risolto


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

circa un anno fa

Risolto


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

circa un anno fa

Risolto


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

circa un anno fa

Risolto


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

circa un anno fa

Risolto


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

circa un anno fa

Risposto
Faster indexing from Matfiles with similar names
Hi Chun, You can follow the procedure shown in the below code to call the variable a on each iteration. % m1.mat to m5.mat fo...

oltre un anno fa | 0

Risposto
How to display 1 decimal numbers in uitable?
Hi Alessandro, You can follow the procedure shown in the below code to generate a table in the figure. % sample data data = [...

oltre un anno fa | 0

Risposto
split label matrix into cells according to their lables including boundary
You can follow the procedure shown in the below code to split the area in to individual matrix. % sample label matrix label_ma...

oltre un anno fa | 0

Risposto
How to obtain Shannon's entropy in specific wavelet packet tree node?
As you have obtained the best tree using the “besttree()”, the tree obtained will have some non-zero coefficients, which repres...

oltre un anno fa | 0

| accettato

Risposto
Command Window loses focus if opening history
I understand you are experiencing an issue with the terminal window configuration. To fix this issue, you can try the following:...

oltre un anno fa | 0

Risposto
Fill an empty table with input from different variables
You can use the “repmat” as shown in the code below. % Define the variables n = 'value of n'; m = 'value of m'; % Replace ...

oltre un anno fa | 0

| accettato

Risposto
how can I connect multiple lines into a line in a graph?
You can use "plot" directly instead of "fplot" as shown in the code below. % Define the functions and their domains syms s ...

oltre un anno fa | 0

| accettato

Risposto
Table function with cells
Hi, You can refer to the below code. %sample data data_table = cell(3,1); data_table{1} = {'A', '[1 25]', 'double', ""}; da...

oltre un anno fa | 0

| accettato

Risposto
How to plot convolution between signal and Hilbert tranform operator
Hi, You can refer to the code below. t = 0:0.01:1; f = 2; omega = 2*pi*f; y = cos(omega*t); h = [Inf, 1./(pi*t(2:end))];...

oltre un anno fa | 0

| accettato

Risposto
Not the correct color on volshow
Hi, You can refer to the below code. V_test=zeros(30,30,30); % first cube V_test(10:20,10:20,10:20)=1; % second cube V...

oltre un anno fa | 0

| accettato

Risposto
How to make two signals of same dimensions?
Hi, Here is an example to read the two audio signals and to subtract both. % read in the two audio signals [x1, fs1] = audio...

oltre un anno fa | 0

Risposto
Finding linear combination between 3 vectors
Hi, You can refer to the below code to find linear combination between three vectors. a=[1 1 1]'; b=[1 2 3]'; c=[2 -1 1]'; ...

oltre un anno fa | 0

Risposto
How to apply walsh hadamard transform?
Hi, You can refer to the code below to apply Hadamard transform on the image. % Load the PNG image img = imread('img.jpg'); ...

oltre un anno fa | 0

Risposto
real-time FFT in simulink
Hi, Here are the steps to create the model. Open a new Simulink model. From the Simulink Library Browser, open the "DSP Syst...

oltre un anno fa | 0

| accettato

Risposto
How to change the position of the subtext?
Hi, You can try separating the subtext into a second ‘text’ object. You can adjust the x and y coordinates of second text objec...

oltre un anno fa | 0

Risposto
calculating hamming distance and total hamming distance
Hi, You can refer to the code below to calculate hamming distance and total hamming distance for binary matrices. % input matr...

quasi 2 anni fa | 0

Risposto
I am having problem in FFT function
Hi, You can refer to the below code to find DFT of x= [1 1 6 1 6 0 2 6] %input sequence x x = [1 1 6 1 6 0 2 6]; % Calcula...

quasi 2 anni fa | 0

Risposto
reversing the hamming window
Hi, To reverse the effect of the Hamming window on your signal, you need to divide your windowed signal by the Hamming window. ...

quasi 2 anni fa | 0

Risposto
How to determine the sigma value for 2D gaussian filter
Hi, Determine the FWHM (full width at half-maximum) of the desired smoothing effect. This will depend on the scale of features ...

quasi 2 anni fa | 0

Risposto
convert this in matlab please
Hi, You can refer to the code below. function [Q] = gaussQuad2(f, xs, ys, n) % Gauss quadrature for double integral over a re...

quasi 2 anni fa | 0

Carica altro