photo

Kevin Rawson


Last seen: 2 years ago Active since 2019

Followers: 0   Following: 0

Statistics

  • Knowledgeable Level 2
  • First Answer

View badges

Feeds

View by

Answered
find where two dataset intersect or get closer
I'm not understanding how it's a problem if given your two datasets don't cross anywhere that polyxpoly is returning an empty se...

5 years ago | 0

| accepted

Answered
How to redraw the current saved histogram "fig" file
Provided only the histogram is in the figure, the following should work: hFig = open('Histogram_Plot.fig'); hAxes = hFig.Child...

5 years ago | 0

Answered
omit zeros from matrix and have the shape of matrix
If you are trying to get rid of rows with zeros: A(all(A == 0, 2), :) = [];

5 years ago | 0

| accepted

Answered
Pb in plotting for loop, in get juste the laste one
You are only getting the last ones because your plot command is outside the k for loop.

5 years ago | 0

Answered
How to test if two elements in a vector are of the same value.
If we assume you are using numbers 1 through 14 to represent the face value of the cards (neglecting joker), then: cardCounts =...

5 years ago | 0

| accepted

Answered
How to look for a value in an excel and/or interpolate it
help interp3

5 years ago | 0

Answered
Assigning computation values to variables without making it an array
I suggest you check what terms are enclosed in your parentheses very closely.

5 years ago | 1

Answered
Creating a matrix of ones and zeros with location of ones based on array value
One possible way is: Y = zeros(length(y), max(y)); Y(sub2ind(size(Y), (1:length(y))', y)) = 1;

5 years ago | 1

| accepted

Answered
close command / dos window
Simplest way without modifying your original batch file would be to add an exit command to your system call. system('yourSc...

5 years ago | 5