Community Profile

photo

John


Active since 2014

Statistics

All
  • First Review
  • 3 Month Streak
  • Thankful Level 3
  • Knowledgeable Level 1
  • First Answer
  • Promoter
  • Speed Demon
  • Creator
  • Commenter
  • Solver

View badges

Content Feed

View by

Question


Can Java Generic classes be instantiated in MATLAB?
I am able to instantiate non-generic classes in MATLAB. But how do I instantiate typed versions of generic classes, like *java.u...

8 years ago | 0 answers | 0

0

answers

Question


How can one get uigetdir/uigetfile to remember last opened directory?
Neither *uigetdir* nor *uigetfile* remember the last directory selected or the directory of the last file selected. Is there a w...

9 years ago | 3 answers | 0

3

answers

Question


How does on create a vector of class based on class name given as string?
Suppose I have a function that should create and return a vector of a certain class where the class name is passed in as a char ...

9 years ago | 2 answers | 0

2

answers

Question


Most correct way to pass shared data between callbacks in GUIDE gui application
I read the documentation for GUIDE and it suggests a couple of ways to share data between callbacks. My GUIDE application will h...

9 years ago | 1 answer | 0

1

answer

Question


MATLAB 2015 slider gui question
I have MATLAB 2014a and I know that the GUI slider does not have well-documented functionality for continuous slider callbacks (...

9 years ago | 3 answers | 0

3

answers

Answered
Optimization on movie command
Hi Nguyen. you can set the frames-per-second for playback with the movie function. The function signature is something like this...

9 years ago | 0

Answered
How to implement a function within another one ?
I read through your example and it looks like the language functionality you are looking for are nested functions. Please see th...

9 years ago | 0

| accepted

Question


MATLAB Certified Associate/Professional
Do we have any here? Just curious. It has been a while since it was released and I am wondering if any of the most esteemed cont...

9 years ago | 3 answers | 0

3

answers

Answered
Imregtform - how can I separate the rotation and translation?
I have dabbled with this before just to try out MATLAB's capabilities and am no expert in the area of linear transformations, so...

9 years ago | 0

Question


Editor code completion for MATLAB Handle classes?
When working with the definition for a handle class. Can the code completion feature see the methods and properties of the class...

9 years ago | 2 answers | 1

2

answers

Question


Non-MATLAB alternatives to Axes
Does anyone know of any non-MATLAB GUI toolkits that can emulate the behavior of the Axes object in MATLAB? The Axes was specifi...

9 years ago | 0 answers | 0

0

answers

Question


Does MATLAB use Perl for Regexp?
I notice that the sys folder of the MATLAB 2014a root installation contains a Perl runtime. Is this Perl runtime used by MATLAB ...

9 years ago | 1 answer | 0

1

answer

Question


Question about getpts.m code
I was looking at the source code for the function <http://www.mathworks.com/help/images/ref/getpts.html getpts.m>, which in 2014...

9 years ago | 1 answer | 0

1

answer

Question


MATLAB Student version upgrade question
I bought the student version of MATLAB 2014a and a couple of toolboxes. If 2014b comes out and it turns out one of the toolboxes...

9 years ago | 1 answer | 0

1

answer

Question


MATLAB Compiler compatibility question for function getpts
Hi all. I have the image processing toolbox and am about to package my program using MATLAB Compiler 2014a. I use the getpts.m f...

9 years ago | 1 answer | 0

1

answer

Answered
How to convert text line into numbers
As mentioned before, regular expressions provide more intuitive solutions (once you get the hang of the basics). This short snip...

9 years ago | 0

Answered
Hi guys. I need help splitting a number into its individual parts and then add them. E.g. the number would be 1994 = 1 + 9 + 9 + 4 = 23
When you say you do not want the number to turn to a scalar, I think what you are saying is you don't want to convert the scalar...

9 years ago | 4

| accepted

Question


Callback of axes in figure not being called
Below is the code for a complete GUI that creates a simple figure (figure1) and an axes inside of it (axes1) . axes1 contains an...

9 years ago | 1 answer | 0

1

answer

Answered
Convert an RGB image to grayscale but keep one color?
I am guessing you want the green channel stored in a separate matrix. In your code, A is only read. Its value does not change a...

9 years ago | 0

Question


Make GUI Slider behave like iOS frame scroller
It is my understanding that the MATLAB GUI *Slider* cannot be made to behave like a frame scrubber. Suppose I have a *Slider* co...

9 years ago | 1 answer | 0

1

answer

Question


Does MATLAB have a development roadmap available
Does MATLAB publish a "roadmap" that shows which features will be pulled out of future versions and what new features will be in...

9 years ago | 0 answers | 2

0

answers

Answered
How to run Thorlabs Camera on Matlab?
According to Thorlabs documentation this is possible. See: <http://www.thorlabs.com/newgrouppage9.cfm?objectgroup_id=4024&pn=DCC...

9 years ago | 0

Question


Problem with subreferencing (subsref) operator overload
I am experiencing a problem with operator overloading of the subreferencing operator for a class. Below is an illustrative MATLA...

9 years ago | 1 answer | 0

1

answer

Answered
Bizarre value class behavior
So does this mean that for a value class, if I want to call a function on an instance of that value class which modifies the sta...

9 years ago | 0

Solved


Convert a grayscale image into RGB colour format, preserving data type
In the Image Processing Toolbox, MATLAB provides rgb2gray to convert a 3 channel color image into a 1 channel intensity...

9 years ago

Problem


Convert a grayscale image into RGB colour format, preserving data type
In the Image Processing Toolbox, MATLAB provides rgb2gray to convert a 3 channel color image into a 1 channel intensity...

9 years ago | 2 | 33 solvers

Question


Bizarre value class behavior
Below is a self-explanatory VALUE class I developed for purposes of illustration. classdef ClassA propertie...

9 years ago | 3 answers | 0

3

answers

Question


Handling user-defined matlab class returned from Java collection
Suppose I have a user defined MATLAB class like this: classdef A properties property1; property2; ...

9 years ago | 2 answers | 0

2

answers

Question


Displaying frames in GUIDE
I have a necessity to display frames of a video in an axes object (or some other suitable alternative) with the requirement that...

9 years ago | 1 answer | 0

1

answer

Question


Problem instantiating a Java class
I want to make use of the geometry classes in java.awt.geom.* in MATLAB. I can instantiate some classes like java.awt.geom.Area ...

9 years ago | 1 answer | 0

1

answer

Load more