Community Profile

photo

Kevin Rawson


Last seen: etwa ein Jahr vor Aktiv seit 2019

Followers: 0   Following: 0

Statistiken

  • Knowledgeable Level 2
  • First Answer

Abzeichen anzeigen

Feeds

Anzeigen nach

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

fast 5 Jahre vor | 0

| akzeptiert

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

etwa 5 Jahre vor | 0

Beantwortet
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), :) = [];

etwa 5 Jahre vor | 0

| akzeptiert

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

etwa 5 Jahre vor | 0

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

etwa 5 Jahre vor | 0

| akzeptiert

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

etwa 5 Jahre vor | 0

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

etwa 5 Jahre vor | 1

Beantwortet
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;

etwa 5 Jahre vor | 1

| akzeptiert

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

etwa 5 Jahre vor | 5