Community Profile

photo

Rik


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

  • 36 Month Streak
  • GitHub Submissions Level 3
  • Ace
  • Personal Best Downloads Level 3
  • Editor's Pick
  • First Review
  • 5-Star Galaxy Level 4
  • First Submission
  • Revival Level 3
  • Thankful Level 2
  • Knowledgeable Level 4
  • First Answer
  • Solver

詳細を表示...

貢献した分野
表示方法

回答済み
How to call multiple functions that connected each other with a single GUI push button?
Just put everything you want to happen in a single function. And stop with the habit of including clc,clear all,close all. Yo...

1日 前 | 0

| 採用済み

送信済み


BlandAltmanPlot
Create a Bland-Altman plot and return a struct with results and handles.

1日 前 | ダウンロード 11 件 |

Thumbnail

回答済み
for loop, change matrix dimensions
In general you're better off using a separate logical array to mark which rows should be deleted and doing the deletion in one g...

3日 前 | 0

| 採用済み

回答済み
Deblurring an Image using inverse filtering
A bit of data exploration shows that you have quite an outlier in your image: figure(3),clf(3) histogram(m_deblur) set(gca,'Y...

3日 前 | 0

| 採用済み

回答済み
how to plot 2 curve with together
doc hold doc subplot Or even the documentation of plot itself: direct link.

3日 前 | 0

回答済み
3D surf issue
You are only filling a vector of Z, not the entire plane. Make sure you have a Z value for every value of X and Y. If you post (...

3日 前 | 1

| 採用済み

回答済み
Temporary variable must be set inside parfor before it is used
Because Matlab must be able to guarantee that the value of a variable at the end is not dependent on what the last iteration is....

3日 前 | 1

| 採用済み

回答済み
how do i make a plot from a data table with a random number of entries
Use arrays instead of numbered variables. You see how this code is much less repeating and easier to see what is happening where...

3日 前 | 0

| 採用済み

回答済み
"Unable to perform assignment..." Indices size error
The source of the issue is a bit earlier in the code: the code that is supposed to find the dominant eigenvalue doesn't work as ...

4日 前 | 1

| 採用済み

回答済み
Obtain matrix with YDIR reverse
Since reversing the y-direction is mostly equivalent to flipping the sign: B=[A(:,1) -A(:,2)];

4日 前 | 0

| 採用済み

回答済み
How to concatenate a row of variable names and a double?
If you want to mix data types: that's not going to be possible. Each variable in Matlab can only be single type, so something li...

5日 前 | 0

回答済み
How do I plot distribution of time lags using histogram with a smoothed line?
h.BinCounts contains the height of each bar and h.BinEdges can be used to find the bin centers. If you want to smooth the result...

6日 前 | 0

| 採用済み

回答済み
Passing variables between GUI's and invalid object or handle
The setappdata function also accepts uifigure handles, so you need to use that as input: app=struct('self',uifigure); %% seta...

6日 前 | 1

| 採用済み

回答済み
How to convert a text file to 0's and 1's
If you have a master-list you can use ismember to create a logical vector line by line. If you need an example, you should post ...

6日 前 | 0

回答済み
Treasure Hunt Game MATLAB
I would propose a different tactic: use the map itself to keep track of the remaining gold. Your current method is fairly confus...

7日 前 | 0

回答済み
i want to plot a certain number of a function
A surface (or plot3) would maybe make more sense, but here is what you asked for. Ideally you would use an interpollation inside...

8日 前 | 0

回答済み
How to limit calculation precision?
You could round the end result. This will of course not replicate any rounding errors. In general calculations will run at the ...

8日 前 | 0

質問


What is missing from MATLAB #2 - the next decade edition
Meta threads have a tendency to grow large. This has happened several times before (the wishlist threads #1 #2 #3 #4 #5, and 'Wh...

8日 前 | 3 件の回答 | 2

3

回答

回答済み
How do I show my fprintf of for loop in textbox GUI
You should use sprintf to create a char array that you can display in your text box. If you want to add lines instead of overwr...

10日 前 | 0

| 採用済み

回答済み
Callback Push Button Execution
A callback has the object handle as the first input and the eventdata as the second input. You can use the object handle to retr...

12日 前 | 0

回答済み
Creating a dropdown menu in inputdlg box in MATLAB
You can create new figure and put a uicontrol element on it, or you can use listdlg. If you need help implementing my first sugg...

13日 前 | 0

回答済み
how to download matlab 2020b for 32 bits system?
Matlab R2020a for 32 bit windows doesn't exist. The last release with a 32 bit version was R2015b.

14日 前 | 1

回答済み
Interpolation using two variables
doc interp2

15日 前 | 0

回答済み
If I want to change the middle element of the array n, from n1 to n6, step wise, what code has to be used ?
If you replace n1 with n_{1} (and do the same for the other 5), you can use a loop. Don't use numbered variables, use arrays ...

16日 前 | 0

回答済み
Undefined function or variable 'datatip'
The datatip function was introduced in R2019b, so you will have to find an external implementation (or write it yourself), or up...

18日 前 | 0

| 採用済み

回答済み
How can I select a specific line in a text file base on a specific string in that line?
Read the entire file and split by newline character (e.g. with my <https://www.mathworks.com/matlabcentral/fileexchange/68780-re...

21日 前 | 0

| 採用済み

回答済み
Maximum of the image size png Matlab
Short answer: trial and error. Long answer: This should probably be somewhere in the doc. Only after the trial and error did I...

約1ヶ月 前 | 1

| 採用済み

回答済み
how to write loop for in for
Because you want to determine the value of a by looking at x, you need to do just that: A=readfile('https://www.mathworks.com/m...

約1ヶ月 前 | 0

回答済み
Textscan from a text file that contains signs
Use strspilt to split each line. Then you can check if there are enough elements on that line, select the 6th element and use st...

約1ヶ月 前 | 1

| 採用済み

回答済み
Cutting a Matrix Into a Triangle
Use fliplr to mirror the matrix, then use tril or triu, then mirror again with fliplr.

約1ヶ月 前 | 1

Load more