David Epstein
Followers: 0 Following: 0
Professional Interests: mathematics, scientific research
Feeds
질문
Display figure on screen
After I run my program, I have to click on the Window menu at the top of my screen, and select Figure 1. Figure 1 then displays...
5년 초과 전 | 답변 수: 0 | 1
0
답변질문
Don't want my points on the boundary
This code puts my points on the boundary of the plot , which I don't want. Have tried setting xlim large, and various other ap...
5년 초과 전 | 답변 수: 2 | 0
2
답변답변 있음
Which files are read before startup.m?
The answer to my question is given at https://uk.mathworks.com/help/matlab/matlab_env/when-path-not-successfully-set-at-startup...
Which files are read before startup.m?
The answer to my question is given at https://uk.mathworks.com/help/matlab/matlab_env/when-path-not-successfully-set-at-startup...
거의 6년 전 | 1
| 수락됨
질문
Which files are read before startup.m?
Whenever I start Matlab, I get two lines of error message in red. I would like to find out what is causing them and how to get r...
거의 6년 전 | 답변 수: 1 | 1
1
답변질문
How to vectorise the code below
I have asked about fsurf two or three times on this platform, and received two replies, neither of which extracted me from my di...
거의 6년 전 | 답변 수: 1 | 0
1
답변질문
fsurf and function handles.
I rewrite my question in the hope of making it clearer. Let be a vertical half-plane in bounded by the vertical axis . In , w...
거의 6년 전 | 답변 수: 0 | 0
0
답변답변 있음
Create image matrix by choosing pixels interactively.
I solved this using a Matlab plot with ginput in a loop collecting one click each time it went through the loop. This built up t...
Create image matrix by choosing pixels interactively.
I solved this using a Matlab plot with ginput in a loop collecting one click each time it went through the loop. This built up t...
대략 6년 전 | 0
| 수락됨
질문
Create image matrix by choosing pixels interactively.
Given a positive integer n (say n=50), I want to make an n x n white box with black boundary, and black grid lines, dividing it ...
대략 6년 전 | 답변 수: 1 | 0
1
답변질문
window for several figures.
MATLAB Version: 9.4.0.813654 (R2018a), running under MacOS 10.13.6. I run a script that computes 3 figures. This produces 3 thu...
6년 초과 전 | 답변 수: 1 | 0
1
답변질문
"Linear" algorithm for griddedInterpolant
Try this M=rand(2,3); disp(M); F=griddedInterpolant(M); disp([F(1,1),F(1.5,2.5),F(2,3),F(50,19),F(-50,19)]); Wh...
6년 초과 전 | 답변 수: 1 | 0
1
답변질문
What is M(I) where M is a real matrix and I is a matrix of indices.
M is a 67x67 matrix of doubles. I is a 441x2 matrix, with I = [xc,yc]. Each row is a pair i,j of indices of M. I want to apply...
6년 초과 전 | 답변 수: 1 | 0
1
답변질문
getting an image matrix when I have the image.
My code to produce a white F on a black background: f_shape = [0,0;1,0;1,2;2,2;2,3;1,3;1,5;3,5;3,6;0,6;0,0]*[1,0;0,...
6년 초과 전 | 답변 수: 1 | 0
1
답변질문
is it possible to vectorise the following. I want to construct all pairs of integers (I,j) with i^2 + j^2 <= r^2, This includes negative i and j. Ideally I want a 2 by k matrix listing my pairs in lexicographic order. At the moment I use for loops.
Given r, I want to construct all pairs of integers (i,j) with i^2 + j^2 <= r^2, This includes negative i and j. Ideally I want ...
6년 초과 전 | 답변 수: 1 | 0
1
답변질문
cross-correlation one large image and many small images
I have one large NxN image (grey scale), and many small nxn images (n always the same). Both N and n are powers of two. Padding ...
거의 8년 전 | 답변 수: 0 | 0
0
답변질문
MSER conventions for the direction of increase of the y-variable
I have found what I think is a clash of conventions in Matlab's treatment of MSERs. When using pixel coordinates, it is conventi...
8년 초과 전 | 답변 수: 0 | 0
0
답변질문
Argument to dynamic structure reference must evaluate to a valid field name
Here is a code snippet that results in the error message recorded in my question. The program passes the if clause that starts ...
8년 초과 전 | 답변 수: 1 | 0
1
답변질문
error detection when reading in text
I have a long file of which this is a typical sample 11-Aug-2015 102.3 12-Aug-2015 103.4 14-Aug-2015 101.7 15-Aug-...
대략 9년 전 | 답변 수: 1 | 1
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...
거의 13년 전
문제를 풀었습니다
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 ...
거의 13년 전
문제를 풀었습니다
Determine if input is odd
Given the input n, return true if n is odd or false if n is even.
거의 13년 전
문제를 풀었습니다
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:...
거의 13년 전