Community Profile

photo

Rik


Last seen: Today
1,621 2017 年以降の合計貢献数

E-mails with feedback/questions about FEX submissions are welcomed. In general I will post e-mails about Answers on the related page, unless there is good cause not to do so.

連絡する

Rik's バッジ

  • Personal Best Downloads Level 2
  • Editor's Pick
  • First Review
  • 5-Star Galaxy Level 4
  • First Submission
  • 24 Month Streak
  • Revival Level 3
  • Guiding Light
  • Thankful Level 2
  • Knowledgeable Level 4
  • First Answer
  • Solver

詳細を表示...

貢献した分野
表示方法

回答済み
If a variable holds a bunch of images, what does (:, :, 1, i) mean?
In the case of a 3D array, the last dimension is generally the z direction, although it can also be the different color channels...

1日 前 | 0

回答済み
Add legend to multiple plots created by a for loop
There are two ways to do this. Either you need to create an array of the handles to the scatter objects and use that in your cal...

1日 前 | 0

| 採用済み

回答済み
Help with centralling text values above a Bar Chart with side by side data
Find the x position of the bar itself and use that in your call to text. Then you can set the HorizontalAlignment to center.

12日 前 | 0

| 採用済み

回答済み
How to apply thresholding at different parts of an image?
What you describe is a region growing algorithm, of which you can find an implementation <https://www.mathworks.com/matlabcentra...

13日 前 | 0

回答済み
How to add white space to the left and right of my plot?
Use the axis function to set your axis limits, or use the xlim function to set the XLim property of your axes object.

13日 前 | 0

回答済み
Is this a valid expression?
You can't index the output of the transpose function like that. You can either do it explicitly in multiple steps, or use the fu...

14日 前 | 0

| 採用済み

回答済み
How to obtain a square matrix from a column matrix
So like this? AA=repmat(A,1,9);

14日 前 | 0

回答済み
need help to plot a mesh
Use meshgrid to generate the full grid of combinations of x and alpha. Then you can use the surf function.

14日 前 | 0

回答済み
question on triangulate() function
I don't see any reason why it would matter (as long as you use the same coordinate system for both inputs and the stereoParamete...

15日 前 | 0

回答済み
Is it possible to print hard copy of PDF file using MATLAB
If you can manage to read the pdf in Matlab and make it your current figure, you can actually use the print function. See this p...

15日 前 | 0

回答済み
How can a particular .tif file be read from a folder which is having 10 files with different suffix like 'file_1', 'file_2'...?I only want to read file_2.tif and file_4.tif.
You can generate the list of file names with dir: filelist=dir(fullfile(folder,'*_*.tif')); Now you can optionally loop throug...

19日 前 | 0

| 採用済み

回答済み
How can I see the all results at the same time according to changing values in a "for" loop?
Store the results in an array. Don't use numbered variables, you will either have to type them out (increasing the risk of typos...

19日 前 | 0

回答済み
why is my code ignoring my while loop
You shouldn't use logical arrays as your conditional. It will never do what you think it does. This is what it does: IF=@(cond)...

約1ヶ月 前 | 0

回答済み
import data and plat a 3D
No interpollation required, just a conversion to a 2D matrix. You can adapt the syntax of accumarray if you do have any missing ...

約1ヶ月 前 | 1

回答済み
Calling a function defined in a m-file from within appdesigner app, with the app object as function input
Your GUI (like all AppDesigner GUIs) has a pass-by-reference behavior (so it behaves like a handle class). That means the line y...

約1ヶ月 前 | 1

| 採用済み

回答済み
Saving/loading large images fast
I think it would be faster to load the data and recreate the figure. In general savefig only makes sense if you have a large num...

約1ヶ月 前 | 0

| 採用済み

回答済み
Combine 2 images vertically
Like this? Im2=cat(1,im_upper,im_lower);

約1ヶ月 前 | 0

回答済み
hex2num can't recover value from the hex by num2hex
As the documentation explains, hex2num assumes the hex is a representation of a double, while num2hex also supports the single d...

約1ヶ月 前 | 0

| 採用済み

回答済み
Selection of roi for multiple images
If you want to apply the same ROI to all images: export the ROI as a logical array. If you want to select a different ROI for...

約1ヶ月 前 | 1

| 採用済み

回答済み
How to make program window and figure centered using GUI and varargout = guidefunc(action, varargin).
Since it apparently solved your issue, I'll move my comment to the answer section: As you can see in the first screenshot the U...

約1ヶ月 前 | 0

| 採用済み

回答済み
how can i put a limitation rules for below codes?
With logical indexing it is easy to remove impossible values: Pmax= 3600; Pmin=0; Pch=[2600 2750 2800 2950 3010 3100 3300 3...

約1ヶ月 前 | 0

回答済み
Error using fprintf when copying cell content into a text file
The code below works, but it is probably better to define your FormatSpec in such a way that you can print your data line by lin...

約1ヶ月 前 | 1

| 採用済み

回答済み
Divide the matrix randomly, based on columns
You mean like this? fractions=[70 15 15]; x=rand(78000,100);%use 100 to show the split is indeed 75:15:15 groups=cell(size(...

約1ヶ月 前 | 0

| 採用済み

回答済み
Looping Factorial that adds successive terms
You should have just shown the last line. I first spent quite some time finding the correct method of implementing your non-desi...

約1ヶ月 前 | 0

回答済み
Can someone give an easy explanation for what hObject is and what handles is in MATLAB GUI?
In GUIs that are generate by GUIDE, every callback has 3 arguments: hObject: the handle to the object that generated the callba...

約1ヶ月 前 | 1

| 採用済み

回答済み
Lookup-scheme for potentially large n choose k matrices
If the citeria below are satisfied, you can use memoize: Performance is important. The function is time consuming. The functi...

約1ヶ月 前 | 1

回答済み
Name arrays based on a variable
The reasons why naming variables dynamically can be found here. It sounds like you are looking for the features a struct will pr...

約1ヶ月 前 | 0

回答済み
To make coding simplier and have the same plot
You could vectorize this, but using a loop is much easier and will probably have the same performance. Here is an example for t...

約1ヶ月 前 | 0

| 採用済み

回答済み
Matching X and Y co-ordinated from the reference xy
Although you can solve this with the ismember function, you are actually looking for the intersect function: X = [1,2,3,4,5,6,7...

約1ヶ月 前 | 1

| 採用済み

回答済み
Passing array between GUI callbacks
This is in broad strokes how you can use getappdata and setappdata. h_fig=figure; %in your startup/constructor function: A=...

約1ヶ月 前 | 0

| 採用済み

Load more