Community Profile

photo

D. Plotnick


2016년부터 활동

통계

  • First Review
  • Knowledgeable Level 1
  • Thankful Level 4
  • First Answer

배지 보기

Content Feed

보기 기준

질문


Multiple function "instances" of functions with persistent variables
Hello all, I think this is best shown using an abstract example: function out = myFun(varIn,persIn) persistent myPersistent ...

4년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Timeout when running tcpip in server mode OR how to force fopen to return after a set timeout
Hello all, I found and was playing with Matlab's ability to act as tcpip server: t = tcpip('localhost',30000,'NetworkRole',...

4년 초과 전 | 답변 수: 0 | 1

0

답변

질문


Nested function capability with non-nested functions for GUIs
Hello all, I am working on a GUI which started off rather small and simple, and so I used nested functions for handling the GU...

4년 초과 전 | 답변 수: 0 | 0

0

답변

질문


Smoothly interact (pan, rotate, zoom) with an updating figure (animation).
Hello all, I am attempting to allow user interactions such as pan and rotate with a figure, where the contents of the figure a...

4년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Why can't a concrete subclass use size and validator functions on abstract superclass properties?
Hello all, I will throw together a little example here; lets create an abstract super class (containing mixed abstract and con...

거의 5년 전 | 답변 수: 4 | 0

4

답변

질문


For objects in some hierarchy, what is the best practice for parent-child methods/properties that define the relationship? (ALT: is the arm-bone connected to the hand-bone, or vice versa?)
Hello all, I think it is best to begin with an example that uses human anatomy as a metaphor; we will begin with two classes. ...

거의 5년 전 | 답변 수: 1 | 0

1

답변

질문


[GPU] Why do GFLOPS of element-wise matrix operations (addition, multiplication) seem to scale poorly as compared to e.g. mtimes?
Hello all, BLUF: Why do element-wise operations on the GPU seem to scale more slowly than operations like mtimes; even if A+B ...

거의 5년 전 | 답변 수: 1 | 1

1

답변

질문


Subclassing Matlab built-in types w/ properties: concise basic operations and flexible superclass
Hello all, I recently realized that there is considerable inherent power in subclassing Matlab primitives like double or char ...

거의 5년 전 | 답변 수: 0 | 0

0

답변

질문


Flexible property class validation; allow property to be one of several classes (or be a gpuArray)?
Hello all, this is an example of what I am trying to do: classdef myClass properties val (:,1) single = 0; % Som...

거의 5년 전 | 답변 수: 0 | 0

0

답변

질문


Using Property Blocks : Set/get on properties within a single property block
Hello all, Yet another classdef question from me. Let us say I have a bunch of properties for some custom class, and that some...

거의 5년 전 | 답변 수: 2 | 1

2

답변

질문


Resetting individual properties to default values: 2018b
Hello all, I am trying to figure out how to reset class properties of the following form: classdef myClass properties ...

거의 5년 전 | 답변 수: 1 | 0

1

답변

질문


[Warning] Why is it bad practice to set additional class properties when using a set method (prompting a warning)?
I have a class with several properties, and I want it so that if I set one of those properties, it effectively resets additional...

거의 5년 전 | 답변 수: 2 | 0

2

답변

질문


Classdef get methods: allowing get indexing into an array of length either (1x1) or (Nx1).
Hello all, I am trying to sort out an issue best shown in this MWE, where I have a property that may be a column vector, but is ...

거의 5년 전 | 답변 수: 2 | 0

2

답변

질문


Passing "handle" for variable to low-level functions
Hello all, So a very similar question was asked here in 2012, and the answer was 'no', but I wanted to find out if there was a...

대략 5년 전 | 답변 수: 0 | 0

0

답변

질문


Using 'doc' on overloaded/overridden classes: Help only shows the Matlab class documentation
Hello all, I have what is hopefully a simple issue to remedy. I have created a custom class that turns out to overload some Ma...

대략 5년 전 | 답변 수: 1 | 0

1

답변

질문


[Plotting] Two x and y axes for the same data, with different units, and axis equal
Hello all, I have asked a similar question before, but have yet to find/create a satisfactory solution. I am attempting to plo...

대략 5년 전 | 답변 수: 1 | 1

1

답변

질문


Accessing gpuDevice WITHOUT resetting it, and without carrying around a gpuDevice handle, or declaring a global
Hello, I have a question which sparked the issue I am having here: I want to access my gpuDevice properties, namely the Availa...

5년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Checking if persistent variable exists on GPU: check if 'data no longer exists on the GPU' for a variable.
Hello, I am running into an issue if I have persistent variables that I am storing as GPU arrays. This is especially useful if...

5년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Reduction variables on the GPU II and arrayfun: cannot assign to parent function variable?
Hello, This is (hopefully) a simple reduction variable question for performing parallel GPU operations onto a single value. I...

5년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Setting object properties without returning the object using obj = obj.myfun(obj,argin)
Hello all, I have a syntax question. I want to be able to set or add to properties of a custom class, but without using the cu...

5년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Using reduction variables on the GPU: arrayfun or other options
Hello all, I am trying to figure out whether/how to use a reduction variable as the output of an arrayfun performed on the G...

5년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Restricting method access to classes, NOT methods of classes
Hello all, I am trying to understand some method access capabilities, so that methods can only my accessed by objects of a c...

5년 초과 전 | 답변 수: 1 | 0

1

답변

답변 있음
How do I find the index of a datapointon a MATLAB plot?
This is my kludgy workaround: instead of plot(x,y) do plot3(x,y,1:length(x)); view(0,90) NOW use your data...

5년 초과 전 | 6

질문


Debugging: finding all instances of gpuArray in large code base [or finding all instances of other function calls]
Hello all, I am building a code set that I prefer to run on the GPU, but would also like to be capable of executing on a non...

5년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Finding files WITHOUT a specfic prefix (or suffix, extension, etc.) using dir
Hello all, I have a question partly inspired by the question <https://www.mathworks.com/matlabcentral/answers/352046-find-file...

5년 초과 전 | 답변 수: 1 | 0

1

답변

질문


GPU memory overhead dependent on fft dimension.
Hello all, I have a question regarding memory management during Matlab's gpuArray/fft operation. I have a large NxM matrix [N ...

5년 초과 전 | 답변 수: 1 | 0

1

답변

답변 있음
Index with for loop variable name and definition
If I understand your question, it is parallel to the one <https://www.mathworks.com/matlabcentral/answers/105936-how-to-make-dyn...

5년 초과 전 | 1

| 수락됨

답변 있음
How can I circle fit 6 points and find the center?
Least squares fitting: examples in 2D: https://www.mathworks.com/matlabcentral/fileexchange/22643-circle-fit--pratt-method-...

5년 초과 전 | 0

답변 있음
Save Image Files in a loop
Something _like_ this should work: just iterate over the save-name for the image. for i = 1:I image = doStuff(data); imag...

5년 초과 전 | 2

| 수락됨

더 보기