Community Profile # MSP

Last seen: 4 månader ago Active since 2016

#### Statistics

• • • #### Content Feed

View by

Question

Roi to a 1D array in matlab
How do i select a ROI using mouse in an image (imagesc plot) and get the content of the roi in a 1d vector? I needed help on tha...

ungefär 3 år ago | 0 answers | 0

### 0

Question

Subplot according to Real size
Greeetings people, I am having an issue regarding plotting according to the real size.I am trying to explain according to this ...

ungefär 4 år ago | 1 answer | 0

### 1

Question

How suppress Background noise?
Hello, I just recorded a voice signal and it has the background noise from ac,fan etc. The frequency spectrum of the noise and ...

ungefär 5 år ago | 0 answers | 0

### 0

Question

Finding a 2d block with highest average inside a 2d window
Consider a matrix A(52,34) How to find out which 2d block size(3,3) has the highest average in it

mer än 5 år ago | 1 answer | 0

### 1

Question

Weird problem with MATLAB misbehaving..
This is the Linear regression function. My problem is when I am running one line using this function MATLAB2017a returns values ...

mer än 5 år ago | 1 answer | 0

### 1

Question

How to use imagesc and videowriter
Consider that we have multiple images to be shown by imagesc in a loop,How to convert this to a mp4 sequence

mer än 5 år ago | 0 answers | 0

### 0

Question

VIDEO WRITER and imagesc coding
hello guys I am running into problem to create this video sequence of the str images as mp4 file.L = 1×6 Image ar...

mer än 5 år ago | 0 answers | 0

### 0

Question

Assignment has more non-singleton rhs dimensions than non-singleton subscripts
I am getting this error while I am running a function, I am aware that a few instances like this might happen in the function. I...

mer än 5 år ago | 1 answer | 0

### 1

Question

Matrix manipulation and interpolation
<</matlabcentral/answers/uploaded_files/95304/matrix.PNG>> Hello here is my problem,Pls see the image for a simple understand...

mer än 5 år ago | 1 answer | 0

### 1

Question

Making normxcorr2 function efficient
Hello the problem I'm facing is that for calculations with large matrix, the normxcorr2 takes much time.So is there be any way o...

mer än 5 år ago | 0 answers | 0

### 0

Question

How to check whether a 2d matrix is gradually increasing in values in row direction.
Lets say u have a matrix A=[2 4 7;3 4 6;] So we can see the A(4)==3 in row 2 has increased from A(1)==2 progression, And ...

mer än 5 år ago | 4 answers | 1

### 4

Question

Finding threshold of matrix
Suppose u have a matrix A with rand (i.e 0-1). Now a threshold(x) of A is to be determined so that 70% of values of the given ma...

mer än 5 år ago | 1 answer | 0

### 1

Find X and Y using matlab
First you have to make a function like this in a certain directory function F=eqn(k) x=k(1); y=k(2); F...

nästan 6 år ago | 0

Problem by creating Sub Matrices
clear all a=magic(5) shiftr=2 shiftc=1 k=1 rowsize=3 colsize=3 for i=1:shiftr:size(a,1) if i+r...

nästan 6 år ago | 0

Question

C++ to 64-bit MEX
Any idea on converting C++ ie .cpp to mex64

nästan 6 år ago | 1 answer | 0

### 1

Zero-crossing calculation
zeroindex=find(y==0) x(zeroindex)

nästan 6 år ago | 0

please how can I Draw the graph of y = 2ex, -5 <= x <= 5
x=linspace(-5,5) y=2.*exp(x) plot(y,x)

nästan 6 år ago | 0

Calculating the Greatest Common Divisor for two positive integers (simple)
This is how u call the function.Calling getData and printData is useless. A= input('Enter x') B= input ('Enter y') [M...

nästan 6 år ago | 0

Question

How to do cubic spline smoothing of two 2D matrixes of equal size
Suppose we have two 2D matrix of the same size.How to do the cubic spline based smoothing

nästan 6 år ago | 1 answer | 0

### 1

I am very new to Matlab and was wondering how to graph the function y= (x-1)/(x+1)
Just include a . before division x= -5:5 y= (x - 1)./(x + 1) plot(x,y)

nästan 6 år ago | 0

| accepted

Extract rows according to the rows sum
clear all close all A = nchoosek(1:9,3) x=find(sum(A,2)==15) B=A(x,:)

nästan 6 år ago | 0

| accepted

Question

Indexing error.How out of bound elements in case of indexing error occurs can be replaced by zeros(or by interpolation)
Hey guys could u help me out to solve this indexing error.I want when indexing error occurs in this the out of bound elemnts sho...

nästan 6 år ago | 0 answers | 0

### 0

Question

Weird problem with fix.
Guys do you know why fix on matlab 2017a is behaving weirdly. Pls have a look on the attached pic.This is not photoshopped. <...

nästan 6 år ago | 2 answers | 0

### 2

Question

CAN ANYONE POST THE CODE OF fillmissing.m (matlab 2017 function).TIA
Hey guys I am on MATLAB 2016a and really need fillmissing.m to ease up things.Can anybody post it here.TIA

nästan 6 år ago | 1 answer | 0

### 1

Question

Suppose you have a 2d matrix M. And you have certain indexes where the data is not good.SO you want to fill those indexes by the nearest existing value.Can regionfill be used for this
M=magic(10) index=[7,8,,5,9,45,43,23,34] M(index)=nan Now how to fill up those Nan values such that it contai...

nästan 6 år ago | 1 answer | 0

### 2

Question

Changing dimensions of matrix
Say that we have two matrices.One is a 32*15 matrix and the other is 66*31 matrix.It is required to determine where this(32,15) ...

nästan 6 år ago | 2 answers | 0

### 2

Question

how to extract 2d window from a 2d matrix
consider you have a 9/9 matrix 2d.It is required to extract 9 matrixes like the attachment How to do it by using loops as it...

ungefär 6 år ago | 1 answer | 0