Community Profile

photo

Rik Wisselink


1,113 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 Wisselink's バッジ

  • 12 Month Streak
  • Revival Level 3
  • Guiding Light
  • Thankful Level 2
  • Knowledgeable Level 4
  • First Answer
  • Solver

詳細を表示...

貢献した分野
表示方法

回答済み
sub2ind out of range error
Because you generate y to be size of a (if the size is odd), you can't add 1 to it, because then it will be out of range. a=[1 ...

約13時間 前 | 0

回答済み
Create a .run file with 1000 sequenced commands
A better solution is to fopen your file before your loop, so it is wiped before your first iteration. You should also use the sp...

2日 前 | 0

| 採用済み

回答済み
How use keyboard arrow keys to control the slider GUI in App Designer?
You can use this tester GUI to determine what you should put for the special keys. Don't forget the otherwise option to exit the...

2日 前 | 0

回答済み
How to remove numbers between specific symbols in text array?
You can use regular expressions for this task: str1='Gas_1_O2'; str2='Flow_Fluidization'; regexprep(str1,'_[0-9]*_','_') reg...

3日 前 | 0

回答済み
Use older MATLAB save formats
Since v7.3 is R2006b, I don't really see a reason why you would need to set the default to -v7. Also, why don't you write a wra...

5日 前 | 0

回答済み
Plotting elements of a matrix in one vertical line for every iteration
As I mentioned in my comment, you need to find a way to convert a position in your matrix to a color. In my example below I'm us...

5日 前 | 0

| 採用済み

回答済み
Imwrite JPG with comments
For my FEX submission PhotoAnnotation I bypass the built-in tools in favor of exiftool. URL=['http://web.archive.org/web/201708...

6日 前 | 1

回答済み
How do i create lots of gaussian channel?
There are many ways to do something like this. You can either fill your array by using cellfun, or a loop, or a direct calculati...

7日 前 | 0

回答済み
Kernel density estimation plot with median and quartiles
I don't have the statistics toolbox, so I needed to generate some random data myself, but the code below should do what you need...

9日 前 | 0

| 採用済み

回答済み
How can I get a plot like this on Matlab?
You can do something like this: %set some mu,height,sd pairs %(replace with your actual data) mu_list=[1200 1350 1500 1550 16...

9日 前 | 0

| 採用済み

回答済み
Use annotation function changing the string dinamycally
Create the annotation once, and then only change the string property inside the loop. figure(1) txt=''; h_annot=annotation('t...

9日 前 | 0

| 採用済み

回答済み
How do I convert a grid 'surface' variable to distinct X, Y and Z variables?
If you restructure your data you can use tools like find, ismember, and ismembertol. That way you can use logical indexing to se...

9日 前 | 0

回答済み
GUI varargout does not update
Instead of using the slow disk to save and store data, you could use setappdata instead. Since you wish to close the figure, you...

9日 前 | 0

| 採用済み

回答済み
'std::exception' when calling python function to open GUI from MATLAB
I haven't used python from Matlab myself, but Tkinter is mentioned in this doc page, which seems to suggest it isn't supported a...

10日 前 | 0

| 採用済み

回答済み
How to loop over this lines?
You mean like this? SW_NRS = nan(11,8,960); for k=1:(size(SW_NRS,3)/24) SW = SWGNTWTR{1,k}(NRS_lat,NRS_lon,1:24); S...

11日 前 | 0

| 採用済み

回答済み
How to change text on a panel?
You can use the handle: %create text field a='0'; h_txt=uicontrol(handles.vehicleData, 'Style','text','Position', [148 -12 87...

11日 前 | 0

| 採用済み

回答済み
I'm not sure what I'm doing wrong that gives me a error
You should transpose your speed vector, so it has one value per row. If you then change your expression to the one below, the im...

12日 前 | 0

回答済み
plot too many lines
You should not use clear on its own. If you want to, you can use clear variables As to your actual problem, is your xd not so...

12日 前 | 0

回答済み
How to read image from axes?
That is not how it works. What you can do instead is using ind2rgb to convert your gray scale image (which you got with rgb2gray...

16日 前 | 0

回答済み
Is there a way to configure the %d in fprintf function to use exponential notation when writing to a text file?
It looks like this might have something to do with flintmax, which would mean there would be no way to change this. This value i...

17日 前 | 1

| 採用済み

回答済み
Handle and hobject in Matlab GUI
You should not be using GUIDE in the first place. The first input to a callback function is a handle to the callback object, wh...

17日 前 | 0

回答済み
Sending two tones (Right and Left)
See this answer. fs= 8000; %frequency sample rate i=1/fs; t=0:i:10; %time axis a=10; % amplitude %Left Signal with F=44...

17日 前 | 1

回答済み
meshgrid values to function without loop
If you are not prepared to change the function to accept non-scalar inputs, you can use this code to implicitly use for-loops. T...

17日 前 | 0

| 採用済み

回答済み
how to creat this vector?
I'm going to guess you mean this instead, and wanted to create Y from X accordingly. X=[1 1 0 1 1 1 0 0 0 1 1 1 1 1 0 0 1 0 0 0...

17日 前 | 1

| 採用済み

回答済み
In my gui3 , i want to break loop when i close the gui figure window
You can write a small function that tests if the object still exists. Unfortunately, exist and isobject don't solve this for you...

18日 前 | 0

| 採用済み

回答済み
Using omitnan in accumarray
You can either write a wrapper function, or extend the anonymous function: accumarray(x,y,[N'1],@(x)mean(x,'omitnan')) or acc...

18日 前 | 1

| 採用済み

回答済み
code for calculation of area of histogram
Assuming you have your image stored as a greyscale image: intensities=sort(IM(:)); PD11=intensities(ceil(0.11*numel(intensitie...

18日 前 | 0

| 採用済み

送信済み


point to line distance
calculate the distance between a 2D or 3D line and one or more points

19日 前 | ダウンロード 18 件 |

回答済み
Organising cells from a cell array
Matlab stores 2D arrays column by column, so if you want to keep it row by row, you need to transpose your array. The code below...

19日 前 | 1

| 採用済み

回答済み
Sums from different groupings
You can pad a grouping with NaN values and still use a similar idea as your other question: x=1:17; N=3; if mod(numel(x),N)~=...

19日 前 | 1

| 採用済み

Load more