Community Profile

photo

Shounak Shastri


Last seen: más de 3 años hace Con actividad desde 2014

Followers: 0   Following: 0

Contacto

Estadísticas

All
  • First Review
  • 3 Month Streak
  • Revival Level 1
  • Commenter
  • Knowledgeable Level 2
  • Solver
  • First Answer
  • Thankful Level 3

Ver insignias

Feeds

Ver por

Respondida
Averaging z values for xy gridded data
Hello Ara, So the brute force implementation would be to run a search through your data and check the lat and lon values. If th...

alrededor de 4 años hace | 0

Respondida
how do I substitute all negative values in a vector with a random number between 0 and 2
The simplest (but not the most efficient) way to do this would be to inititalize a for loop and run through all the elements one...

más de 4 años hace | 0

Respondida
How do I compute the correlation between corresponding rows of two matrices?
From what I know, Correlation Matrices are usually square. As in you have 10000 rows with 60 elements in each row. So if you tak...

casi 6 años hace | 0

Respondida
How to xor key with the element by element in an array?
Here, try this I = randi([1,10],5); %Input matrix [m, n] = size(I) %Size of the input matrix for loo...

casi 6 años hace | 0

Respondida
Error using mex: No supported compiler or SDK was found
You need to download and install a compiler first. Go to the add-ons and click on get add-ons. You will get a list of add-on...

casi 6 años hace | 0

Respondida
How to plot multiple Y in the form of samples in the same X
Try this, plot(x1, y1, 'r*', x2, y2, 'yo', x3, y3, 'ks'); Here, I have taken (x, y) from a1 as (x1, y1), (x, y) from a2 a...

alrededor de 6 años hace | 0

| aceptada

Respondida
Could anyone tell me how to omit zero values while plotting the graph
You can try this A1 = A(A ~= 0); % Removes the zeros from A plot(A1); hold on; plot(B); hold off; Hope this helps...

alrededor de 6 años hace | 0

Respondida
Construct a square wave
I cannot give you the exact code because its a homework assignment. But this should lead you towards the answer. So the signa...

alrededor de 6 años hace | 0

| aceptada

Respondida
How to subtract Black and White image from RBG Original image.
You cannot subtract the image because the two images are of different dimensions. You can check this in your workspace. Consider...

alrededor de 6 años hace | 0

| aceptada

Respondida
How do I make my data from a while loop into a table of vectors?
"How do I make my data from a *while loop* into a table of vectors?" I have modified the code you gave in your question. ...

alrededor de 6 años hace | 0

| aceptada

Respondida
Type of license file
It depends on what license your institution uses. For example, our institution uses an academic license for total headcount ...

alrededor de 6 años hace | 0

Respondida
Compare the result of loop
Add a temp variable in your code and store the new UtilityD value in temp. At the end you can just add a if statement as foll...

alrededor de 6 años hace | 0

Respondida
How to compress a location map using JBig compression?
This code from what I know is from <https://in.mathworks.com/matlabcentral/fileexchange/5104-toolbox-wavelets> toolbox. Down...

alrededor de 6 años hace | 0

Respondida
i have applied huffman coding and decoding from matlab/simulink for digital communication by won y yang
Usually compression doesn't work well for data which has uniform distribution. Almost all natural images follow this trait. You ...

alrededor de 6 años hace | 0

Respondida
Signal Phase using FFT
_"I have to extract the phase of the signals and the average phase displacement using FFT"_ Use the "fft" and the "fftshift" ...

alrededor de 6 años hace | 0

| aceptada

Respondida
How to save whole output of the script? (387 figures grouped into one figure window, each figure in its own tab)
I think you might find a clue here, <https://in.mathworks.com/matlabcentral/answers/228691-organize-several-figures-using-tab...

alrededor de 6 años hace | 0

Resuelto


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

alrededor de 6 años hace

Respondida
how to convolute two discrete impulse functions
x[n]= -delta[n+1] + 0.5delta[n] + 2delta[n-1] h[n]= 2delta[n] + delta[n-1] _"I don't know how to write the two signals in ...

alrededor de 6 años hace | 1

| aceptada

Resuelto


Find all elements less than 0 or greater than 10 and replace them with NaN
Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

alrededor de 6 años hace

Resuelto


Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

alrededor de 6 años hace

Resuelto


Column Removal
Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; and ...

alrededor de 6 años hace

Resuelto


Is my wife right?
Regardless of input, output the string 'yes'.

alrededor de 6 años hace

Resuelto


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

alrededor de 6 años hace

Resuelto


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

alrededor de 6 años hace

Resuelto


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

alrededor de 6 años hace

Resuelto


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

alrededor de 6 años hace

Resuelto


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

alrededor de 6 años hace

Respondida
convolution of two unit step functions.
*1.* The first thing you need to know is that in Matlab, the array index starts from 1 and not from 0. So if you write x(0)=1, y...

alrededor de 6 años hace | 1

| aceptada

Respondida
Hi all! Is there a way to initialize row vectors like this:
_"No, it's a single row vector."_ Based on this I will assume that R,G and B are also row vectors. Say, x=1:30 You...

alrededor de 6 años hace | 1

| aceptada

Respondida
Process an image depending of the peaks of its histogram
*"I'm looking for a matlab function that let me analyse different regions of an image depending of the peaks of its histogram."*...

alrededor de 6 años hace | 0

Cargar más