Feeds
답변 있음
How can I perform matrix operations on certain rows?
What do you mean by 'certain'? Is there any condition that determines the selection of years. Then, you could use a logical arra...
How can I perform matrix operations on certain rows?
What do you mean by 'certain'? Is there any condition that determines the selection of years. Then, you could use a logical arra...
7년 초과 전 | 0
답변 있음
I have video with 10 frames. I want the video depth. In other words stack 10 frames and get the thickness of the stack as a whole. Can anybody help me?
I'm not sure what you mean by depth/thickness but if you stack N frames of size (HxWxC) into a video (4d array of size HxWxCxN),...
I have video with 10 frames. I want the video depth. In other words stack 10 frames and get the thickness of the stack as a whole. Can anybody help me?
I'm not sure what you mean by depth/thickness but if you stack N frames of size (HxWxC) into a video (4d array of size HxWxCxN),...
7년 초과 전 | 0
질문
detect checkerboard pattern (non-solid dark colour)
I am trying to detect the checkerboard points in the image below. If that's not possible, I would like to split the image into 6...
7년 초과 전 | 답변 수: 2 | 0
2
답변질문
How to read in a csv file with uneven columns?
My csv file has two different types of rows: Sep 30, 2016 15:45:09.486686950 BST 00:00:00:aa:00:df ARP 44 S...
대략 8년 전 | 답변 수: 1 | 0
1
답변문제를 풀었습니다
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...
거의 10년 전
답변 있음
how to fit gaussian model and plot it
You can do the following: 1) Estimate the mean and standard deviation using _normfit_ 2) Calculate the probability estimat...
how to fit gaussian model and plot it
You can do the following: 1) Estimate the mean and standard deviation using _normfit_ 2) Calculate the probability estimat...
거의 10년 전 | 2
| 수락됨
문제를 풀었습니다
Return the 3n+1 sequence for n
A Collatz sequence is the sequence where, for a given number n, the next number in the sequence is either n/2 if the number is e...
거의 10년 전
답변 있음
How to find standard deviation of a RGB image?
std2 calculates the standard deviation of an RGB image. Look up <http://uk.mathworks.com/help/images/image-mean-standard-devi...
How to find standard deviation of a RGB image?
std2 calculates the standard deviation of an RGB image. Look up <http://uk.mathworks.com/help/images/image-mean-standard-devi...
거의 10년 전 | 0
질문
how to override a diary command if another diary already exists?
I usually create a log file at the start of each session by adding it to startup.m. Now, I'm trying to run a piece of code that...
10년 초과 전 | 답변 수: 1 | 0
1
답변문제를 풀었습니다
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 ...
10년 초과 전
문제를 풀었습니다
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...
10년 초과 전
답변 있음
sort vector elements under given restrictions
You can create a logical array (same length as v) with 1's for the positions you want (say, 3 and 5) and 0's for the rest and us...
sort vector elements under given restrictions
You can create a logical array (same length as v) with 1's for the positions you want (say, 3 and 5) and 0's for the rest and us...
10년 초과 전 | 0
| 수락됨
질문
matlab hangs when help window is opened
I have MATLAB R2014a 64-bit mac. Whenever I try to open the help window (either by clicking on Help in any of the toolbars or by...
10년 초과 전 | 답변 수: 1 | 0
1
답변질문
multidimensional array to column vector with different dimensional order?
Say I have two arrays: if true % code count = 1; for m = 1:3 for n = 1:3 for k = 1:3 A(count) = count; count = c...
10년 초과 전 | 답변 수: 1 | 0
1
답변질문
how do I draw the cluster boundaries in a scatter plot?
<</matlabcentral/answers/uploaded_files/9042/example.jpg>> I have a scatter plot of three clusters. How can I represent them ...
10년 초과 전 | 답변 수: 2 | 1
2
답변문제를 풀었습니다
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...
거의 12년 전
문제를 풀었습니다
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 ...
거의 12년 전
문제를 풀었습니다
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 ...
거의 12년 전
문제를 풀었습니다
Determine if input is odd
Given the input n, return true if n is odd or false if n is even.
거의 12년 전
문제를 풀었습니다
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:...
거의 12년 전
질문
8 neighbours of a pixel after converting to 1D array
Hi Is there a simple way to access the 8 neighbours of a pixel x(i,j) given by x(i-1,j-1), x(i-1,j), x(i-1,j+1), x(i,j-1), .....
거의 12년 전 | 답변 수: 3 | 2