Community Profile

photo

Rik


Last seen: Today
2,582 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 バッジ

  • MATLAB Central Treasure Hunt Finisher
  • 36 Month Streak
  • Ace
  • Revival Level 3
  • Draw Letters
  • Community Group Solver
  • Indexing I Master
  • 5-Star Galaxy Level 5
  • GitHub Submissions Level 3
  • Personal Best Downloads Level 3
  • Cody Challenge Master
  • Introduction to MATLAB Master
  • Speed Demon
  • Leader
  • Commenter

すべて表示

貢献した分野
表示方法

回答済み
blood vessel segmentation in retinal images
You ran the function without any inputs. You will have to call it with an input, e.g. like this: IM=imread(fullfile('Test Image...

約10時間 前 | 0

回答済み
how can i find and mark indexes on my data?
The answer is already in your question: you should use the find function on your mci array. For clarity, here are the content...

約24時間 前 | 0

回答済み
How can I set the table parameter in .txt output
Because you didn't tell Matlab to use 2 spaces in the FormatSpec. Compare the two versions below (the second line is to provide ...

1日 前 | 0

| 採用済み

回答済み
Saving .wav file
You're overwriting the song every time this callback is triggered. You should probably store each note to a field of your guidat...

1日 前 | 0

| 採用済み

回答済み
Explanation of "Position" in uitable
Since the units are set to Normalized, the units of the Position property are a percentage of the parent object (generally a fig...

1日 前 | 0

回答済み
find previous value in column before specific set value and delete all others
You can use find to create a vector of indices. data=[182 0 195 13 197 2 207 10 210 3 219 9 222 ...

6日 前 | 0

| 採用済み

回答済み
insert variable k value into new variable names
Yes: k=1; on{k}=imread(sprintf('on_%d.tif',k)); on{k}=double(on{k}); figure; imshow(on{k}); The main point is to use a cell...

7日 前 | 0

回答済み
How to get specific columns from a csv file and get its average and standard deviation?
Often the answer to 'how to do this' is: break your problem into solvable steps. You need to read your data from a file to a Ma...

10日 前 | 0

回答済み
I would like to compile a text string for each one of the three index of two given arrays
Easy with sprintf: XX=[1,2,3]; YY=[3,2,1]; z=repmat("",size(XX)); FormatSpec='&DEVC ID=''vel_%d'', QUANTITY=''VELOCITY'', AB...

11日 前 | 1

送信済み


getUTC
get the current time in UTC

13日 前 | ダウンロード 3 件 |

回答済み
Fill in a matrix after an evaluation
I guess boldly: x0_r=rand;y0_r=rand;z0_r=rand; target=rand(6,76+3); accuracy_right = zeros(76,6); for i = 1:1:76 data...

14日 前 | 0

| 採用済み

回答済み
How can i convert this string into an input for a function?
ch=['MRWI' 'IDMZ' 'CGBI' 'JKNO']; v=ch.';v=v(:).'; disp(v)

16日 前 | 0

回答済み
error in function that in my version work correctly but in another version work incorrect
You didn't send them a function, but a script. Since R2016b you're allowed to put functions in a script file. The solution is t...

17日 前 | 0

| 採用済み

回答済み
Finding 4 closest points
You can design something yourself, but you could also see if fillmissing solves your problem. The documentation suggests it shou...

17日 前 | 0

回答済み
Setting Access Properties to Public without AppDesigner
As you can see <https://www.mathworks.com/matlabcentral/answers/483657-how-to-create-a-gui#answer_412887 here>, class properties...

18日 前 | 0

| 採用済み

回答済み
How to calculate the center of white part?
The best way is to use something like regionprops, but since you only have a single patch, you can use find to get a list of coo...

20日 前 | 1

| 採用済み

回答済み
how to plot a function
The same as any other function: find a vector of x data and calculate the y data. Then you can use plot. You can use plot3 for x...

21日 前 | 0

回答済み
Nominate yourself to become a member of MathWorks Community Advisory Board
You can find the current members of the MATLAB Central Community Advisory Board on this page. At the bottom of that page, you c...

21日 前 | 0

回答済み
Use API in matlab
You're in luck: NASA decided to provide the data in JSON, and Matlab can parse that JSON output for you: url='https://power.lar...

21日 前 | 0

回答済み
Deployed exe with configuration file
It sounds like you need something very similar to my GetWritableFolder function. You can use the second output to confirm the f...

21日 前 | 0

| 採用済み

回答済み
simple calculator using GUI
For general advice and examples for how to create a GUI (and avoid using GUIDE), have look at this thread. Every callback is a ...

21日 前 | 0

| 採用済み

回答済み
How I can optimize my code for a stack construct?
Dynamically growing a variable is generally slow, because Matlab needs to copy the entire array. You could pre-allocate a stack...

21日 前 | 0

回答済み
Subset of an array with a moving window
The code below relies on implicit expansion to create an index array, which replicates the results from the inner for-loop. Sinc...

24日 前 | 1

| 採用済み

回答済み
How to make a simple grid of coordiantes ?
If you read the documentation, you can see how to plot vectors without plotting connecting lines. As for generating the coordin...

24日 前 | 1

| 採用済み

回答済み
Merging existing subplots into a single one
This is a surprisingly difficult task. You will have to copy all objects to the same figure and adapt the Position properties of...

24日 前 | 0

回答済み
How to find the exact answer of an exponential equation?
You can use double to extract a numerical value, but if you're looking for a time, something is going wrong here. The numerical ...

24日 前 | 0

回答済み
How to find maximum value and corresponding x-value of multiple graphs?
This is trivial if you use an array instead of numbered variables: z{1}=zeros(numel(fv),1); z{2}=zeros(numel(fv),1); z{3}=zer...

24日 前 | 0

| 採用済み

回答済み
Tips on combining while loop
You were creating a function, why not make that explicit? %Pohlhausen/thwaites polynomial %clear;clc;close; % ^^^^^^ you do...

25日 前 | 0

回答済み
Strange behavior of if statement
Welcome to floating point integers. Matlab stores these numbers in a binary representation with a finite precision. Similar to ...

25日 前 | 0

| 採用済み

回答済み
Create interface to control my instruments.
For general advice and examples for how to create a GUI (and avoid using GUIDE), have look at this thread. You can use a callba...

26日 前 | 0

Load more