photo

CY Y


Last seen: 5 mois il y a Actif depuis 2014

Followers: 0   Following: 0

Statistiques

All
  • Personal Best Downloads Level 4
  • First Review
  • 5-Star Galaxy Level 5
  • GitHub Submissions Level 3
  • First Submission
  • Thankful Level 1
  • Knowledgeable Level 2
  • First Answer
  • Solver
  • Speed Demon
  • Creator
  • Commenter

Afficher les badges

Feeds

Afficher par

Question


How to configure tab completion for my function in MATLAB 2016 ?
In older version of MATLAB, automatic tab completion can be configured through editing TC.xml located in \matlabroot\toolbox\loc...

environ 8 ans il y a | 2 réponses | 1

2

réponses

Réponse apportée
Using key presses w/ Radio Buttons in GUIDE figures
Yes, you can certainly achieve this. First, there is a post on <https://www.mathworks.com/matlabcentral/answers/151060-using...

environ 8 ans il y a | 0

| A accepté

Réponse apportée
Minimal example where you run two loops simultaneously, and programmatically stop/switch a for-loop or while-loop or update the information inside those loops, while they are executing.
for t = 1:1000 im = getCamImage() roi = determineROI(im) if roi == 1 v = 1; while t < 1000 ...

environ 8 ans il y a | 0

Réponse apportée
how do I print a txt file of integers and floats?
Well, you'll have to print it line by line: for ii = 1:n fprintf(fid, '%d %f \n', A(ii), B(ii)); end

environ 8 ans il y a | 0

Réponse apportée
Gaussian ring in 2d
I suppose you're looking for Laplacian of Gaussian ( Mexican hat )filter ? It fits your description. You can get a laplacian of ...

environ 8 ans il y a | 0

Réponse apportée
Problem solving a set of equations with multiple variables.
Writing an equation solver on your own would be a tremendous undertaking. There are two easier ways: 1. Use Symbolic Math Too...

environ 8 ans il y a | 0

| A accepté

Réponse apportée
How to call a sub function written in GUI from another GUI?
A similar question has been asked before. Please see the link : <https://www.mathworks.com/matlabcentral/answers/338-how...

environ 8 ans il y a | 0

Réponse apportée
Calling Matlab GUI popupmenu callback on click
This question has already been asked before and there's a rather detailed explanation. Please see the link : <https://www.ma...

environ 8 ans il y a | 0

Réponse apportée
GUI window size different on platform with same screen resolution
The most likely scenario is that you two are running different versions of MATLAB. The graphics system underwent a major overhau...

environ 8 ans il y a | 0

Réponse apportée
Interactive replot when variable changes
This is where a GUI program can help you. GUI program is event-driven and can listen and respond to a user's action. Concept...

environ 8 ans il y a | 0

Réponse apportée
Create a for loop for a function
MATLAB is case sensitive. Your function call should match exactly your function definition.

environ 8 ans il y a | 0

Réponse apportée
MATLAB cannot find jsonlab library during run time
I recommend you follow the procedures listed in the following page : <https://www.mathworks.com/help/matlab/matlab_env/add-re...

environ 8 ans il y a | 0

Réponse apportée
How to combine the elements of several identical cell structure ?
Ok. Here's a solution for you : Tau = struct; for ii = 0:9 data = load(['Tau@09_n1000_c', num2str(ii), '.mat']); ...

environ 8 ans il y a | 2

| A accepté

Réponse apportée
calculate the normal vector of a 2D image
Is this what you're looking for ? <https://www.mathworks.com/help/matlab/ref/surfnorm.html Compute and display 3-D surface n...

environ 8 ans il y a | 1

| A accepté

Réponse apportée
Checking inequality condition for each component of a vector.
Unlike Python, you can't use multiple inequality expression in MATLAB. You'll have to do this : -0.1 < vec & vec < 0.1 ...

environ 8 ans il y a | 1

| A accepté

Réponse apportée
Can I use a vector as index variable for a loop?
Well, you can't use loop variable that way. You can use nested for loop to assign new loop variable for the inner for loop. For ...

environ 8 ans il y a | 0

Réponse apportée
How can i repeatedly store a smaller matrices after manipulations in a specific place of a larger matrix.
Here's a solution (apparently this will only work with a square matrix) : im_result = zeros(size(im_original)); % S...

environ 8 ans il y a | 0

Réponse apportée
how to quantify multicolor images ?
Here's a solution img = imread('Picture1.png'); imh = imshow(img); % Create a mask using freehand ROI h = imfree...

environ 8 ans il y a | 1

| A accepté

Réponse apportée
how to access an array using a string?
You can store data in a structure s = struct; s.var1 = z(9698:9797); s.var2 = z(23298:23397); s.var3 = z(...

environ 8 ans il y a | 2

Question


Why do UI control objects in GUI disappear during/after plotting ?
I made a GUI using GUIDE in R2014b. It contains an axes for plotting and many UI controls, such as push buttons and popup menus....

presque 10 ans il y a | 1 réponse | 0

1

réponse

Réponse apportée
How to speed up surf plot for thousands of objects ?
Thanks, guys. I tried reducing the number of faces and it didn't really make a difference. Changing the command surf to ...

presque 10 ans il y a | 1

Question


How to speed up surf plot for thousands of objects ?
I want to plot thousands of objects in 3d using surf plot. My code looks like this % src is an m x 3 matrix. Each row is...

presque 10 ans il y a | 3 réponses | 0

3

réponses

Réponse apportée
How to update handles structure from a helper function in GUIDE ?
After playing with it for a quite a while, I found a solution to my own problem. Since the problem is that the GUI function call...

plus de 10 ans il y a | 0

Question


How to update handles structure from a helper function in GUIDE ?
I wrote an image browser using GUIDE (Matlab 2014a). Originally, one of the function callback looks like this, and it worked. ...

plus de 10 ans il y a | 2 réponses | 0

2

réponses