Community Profile

photo

Kevin Rawson


8 total contributions since 2019

Kevin Rawson's Badges

  • Knowledgeable Level 2
  • First Answer

View details...

Contributions in
View by

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

etwa ein Monat 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), :) = [];

etwa ein Monat 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.

etwa ein Monat 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 =...

etwa ein Monat ago | 0

| accepted

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

etwa ein Monat 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.

etwa ein Monat 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;

etwa ein Monat 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...

etwa ein Monat ago | 1