Community Profile

# Andrew Davies

Last seen: 11 dagar ago Active since 2018

All

#### Content Feed

View by

Question

Web site preferences in help browser
I just installed R2021a, and selected the web option for the help. On every session, the first time I start the help browser (e....

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

### 1

Channel

BrewHund

ungefär 2 år ago

"Quality" property of VideoWriter object doesn't do anything. How to get higher quality mp4 video?
I have the same issue. The default quality is terrible, which makes the MPEG-4 format unusable for me.

mer än 2 år ago | 0

Solved

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

mer än 3 år 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...

nästan 4 år ago

Solved

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

nästan 4 år ago

Solved

Max Change in Consecutive Elements
If an array is given as input then find the index of consecutive elements that represent maximum change. Example: Input ...

nästan 4 år ago

Solved

Back to basics - mean of corner elements of a matrix
Calculate the mean of corner elements of a matrix. e.g. a=[1 2 3; 4 5 6; 7 8 9;] Mean = (1+3+7+9)/4 = 5

nästan 4 år ago

Solved

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

nästan 4 år ago

Implementing Sobel Gradient without image package
kx= [1 ,0 ,-1; 2,0,-2; 1, 0 ,-1]; ky= [1,2,1; 0,0, 0; -1, -2 ,-1]; H = conv2(im2double(my_img),kx,'same'); ...

ungefär 4 år ago | 0

Need help resolving error "Index exceeds matrix dimensions"
Your problem is that the loop starts with x=0. You then try to access C(x). Arrays start indexing at 1 in MATLAB, so you can't h...

ungefär 4 år ago | 0

How to binarize a signal?
Depends on the criteria you want to use to create your binary signal, but simply using a comparison operator on an array works. ...

ungefär 4 år ago | 0

Question

Can I change the interpolation used in images shown in a GUI?
I often display images in a resizable GUI. The interpolation used on the image to make it fit in the specified axis provides poo...

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