neil jerome
Followers: 0 Following: 0
brute force and extensive comments
Feeds
已回答
I want to deblur an image that i don't have the original scene
the section on blind deconvolution will attempt to return a PSF as well as the deblurred image; i have tried this in the past wi...
I want to deblur an image that i don't have the original scene
the section on blind deconvolution will attempt to return a PSF as well as the deblurred image; i have tried this in the past wi...
4 years 前 | 0
已解决
Dimensions of a rectangle
The longer side of a rectangle is three times the length of the shorter side. If the length of the diagonal is x, find the width...
4 years 前
已解决
Area of an Isoceles Triangle
An isosceles triangle has equal sides of length x and a base of length y. Find the area, A, of the triangle. <<https://imgur...
4 years 前
已解决
Is this triangle right-angled?
Given three positive numbers a, b, c, where c is the largest number, return *true* if the triangle with sides a, b and c is righ...
4 years 前
已解决
Find a Pythagorean triple
Given four different positive numbers, a, b, c and d, provided in increasing order: a < b < c < d, find if any three of them com...
4 years 前
已解决
Is this triangle right-angled?
Given any three positive numbers a, b, c, return true if the triangle with sides a, b and c is right-angled. Otherwise, return f...
4 years 前
已解决
Triangle sequence
A sequence of triangles is constructed in the following way: 1) the first triangle is Pythagoras' 3-4-5 triangle 2) the s...
4 years 前
已解决
Length of the hypotenuse
Given short sides of lengths a and b, calculate the length c of the hypotenuse of the right-angled triangle. <<https://i.imgu...
4 years 前
已解决
Area of an equilateral triangle
Calculate the area of an equilateral triangle of side x. <<https://i.imgur.com/jlZDHhq.png>> Image courtesy of <http://up...
4 years 前
已解决
Side of an equilateral triangle
If an equilateral triangle has area A, then what is the length of each of its sides, x? <<https://i.imgur.com/jlZDHhq.png>> ...
4 years 前
已解决
Side of a rhombus
If a rhombus has diagonals of length x and x+1, then what is the length of its side, y? <<https://imgur.com/x6hT6mm.png>> ...
4 years 前
已解决
Length of a short side
Calculate the length of the short side, a, of a right-angled triangle with hypotenuse of length c, and other short side of lengt...
4 years 前
已解决
Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...
4 years 前
已解决
Calculate the area of a triangle between three points
Calculate the area of a triangle between three points: P1(X1,Y1) P2(X2,Y2) P3(X3,Y3) these three points are the vert...
4 years 前
已回答
Overwrite 'NaN' cells of an array with non NaN cells of another
hi vasilis, have a look through this: rather than using a loop (which should work fine, but probably slower) you can use indexi...
Overwrite 'NaN' cells of an array with non NaN cells of another
hi vasilis, have a look through this: rather than using a loop (which should work fine, but probably slower) you can use indexi...
4 years 前 | 0
| 已接受
已回答
Appending arrays of different length
didn't quite understand what output you really are looking for, but this shows how to use cat(). (note that with n=23, the resul...
Appending arrays of different length
didn't quite understand what output you really are looking for, but this shows how to use cat(). (note that with n=23, the resul...
4 years 前 | 0
| 已接受
已回答
how to locate group of pixels in a large image
%% find known submatrix in large matrix % will find all instances sourceMat = magic(15); % example source matrix targMat = ...
how to locate group of pixels in a large image
%% find known submatrix in large matrix % will find all instances sourceMat = magic(15); % example source matrix targMat = ...
4 years 前 | 1
已回答
Hi everyone, I am having a problem with axes in gui.
the black parts are created when the new rotated image is created, and so are part of the image. if you know the colour of your ...
Hi everyone, I am having a problem with axes in gui.
the black parts are created when the new rotated image is created, and so are part of the image. if you know the colour of your ...
4 years 前 | 0
已回答
Why can't I form a table from my equation
you are indexing the (mon+1)th element of P, which is to say you are trying to line up n, which has many elements, with P(mon+1)...
Why can't I form a table from my equation
you are indexing the (mon+1)th element of P, which is to say you are trying to line up n, which has many elements, with P(mon+1)...
4 years 前 | 0
已回答
How to make matrix dimensions the same size?
% fixation time script % read data data = readtable('data.txt','HeaderLines',1,'Delimiter','\t'); % see my 'data.txt' below ...
How to make matrix dimensions the same size?
% fixation time script % read data data = readtable('data.txt','HeaderLines',1,'Delimiter','\t'); % see my 'data.txt' below ...
4 years 前 | 0
| 已接受
已回答
Intersection point of yline
the code below shows how to 'brute force' a numerical answer, down to a precision you can adjust, by iteratively 'zooming in' on...
Intersection point of yline
the code below shows how to 'brute force' a numerical answer, down to a precision you can adjust, by iteratively 'zooming in' on...
4 years 前 | 0
已回答
guys can you chek this code its not working where is the fault?
hi ezgi, you've got yourself into some trouble here; don't worry, matlab isn't straightforward, and you had some decent ideas...
guys can you chek this code its not working where is the fault?
hi ezgi, you've got yourself into some trouble here; don't worry, matlab isn't straightforward, and you had some decent ideas...
4 years 前 | 0
已回答
zero crossings with interpolation
LOTS of ways to do this! i've 'over-commented' this code to show the logic - this is deliberately not the fastest or most comp...
zero crossings with interpolation
LOTS of ways to do this! i've 'over-commented' this code to show the logic - this is deliberately not the fastest or most comp...
4 years 前 | 1
已回答
could anyone help me to solve the issue
can't follow your question exactly; your expected output shows 2 answers in the top row, but these are not the highest values? (...
could anyone help me to solve the issue
can't follow your question exactly; your expected output shows 2 answers in the top row, but these are not the highest values? (...
5 years 前 | 0
已回答
How can i find the position of the origin of a Cartesian plot?
i would try looking at the 'position' property of the axes against the limits; the following works for figures, and seems to for...
How can i find the position of the origin of a Cartesian plot?
i would try looking at the 'position' property of the axes against the limits; the following works for figures, and seems to for...
5 years 前 | 0
已回答
Insert a vector into a matrix without where the row placement is given from a number
hi mikkel, the code below assumes the new depth is in the middle of the list somewhere. so this shows how to insert a row by br...
Insert a vector into a matrix without where the row placement is given from a number
hi mikkel, the code below assumes the new depth is in the middle of the list somewhere. so this shows how to insert a row by br...
5 years 前 | 0
已回答
Plot through bottom y-limit
not totally obvious what you mean. if you want to avoid the automatic joining of points through the x-axis that you want to ssho...
Plot through bottom y-limit
not totally obvious what you mean. if you want to avoid the automatic joining of points through the x-axis that you want to ssho...
5 years 前 | 0
| 已接受
已回答
Insert a vector into a matrix without where the row placement is given from a number
yeah, the vector_add formulation is odd, and the direction is worng (?), but i think i see what you mean. you actually just have...
Insert a vector into a matrix without where the row placement is given from a number
yeah, the vector_add formulation is odd, and the direction is worng (?), but i think i see what you mean. you actually just have...
5 years 前 | 0
| 已接受
提问
Creating figure with negative position for secondary monitor (on mac)?
i see some questions for this exact issue, but resolved for windows - i'm on a mac and can't translate the answers across. i ...
5 years 前 | 0 个回答 | 0