photo

Pal Szabo


Last seen: 4 years ago Active since 2017

Followers: 0   Following: 0

Message

Natural Sciences BA, Cambridge, UK, 2016-2019

Statistics

  • Knowledgeable Level 2
  • Thankful Level 3
  • First Answer

View badges

Feeds

View by

Question


How can a preserve hyperlinks on figures when saving them for use outside of matlab?
I want to add some hyperlinks to some of the datapoints on my figures. <https://uk.mathworks.com/matlabcentral/profile/authors/...

7 years ago | 1 answer | 0

1

answer

Question


How can I get the position of a datapoint on a plot?
I have the following code: x=[1:1:5] a=rand*10 y=[2,a,3,5,4] set(gcf, 'Units', 'Normalized', 'OuterPosition', [0 ...

7 years ago | 1 answer | 0

1

answer

Question


How can I make figure title and annotations selectable?
I have a figures which contains annotations with hyperlinks to other figures. I want the viewer of the figure to be able to just...

7 years ago | 1 answer | 0

1

answer

Answered
Help with a piece of code
array3 is an integer. Sprintf needs to no that it is in decimal point notation, that's why you need the %d. More info: <https://...

7 years ago | 0

| accepted

Question


How to use shell commands including variables from matlab?
I have N files, file1 file2 file3, ... fileN. I know that !rm file1 removes file1. How can I create a loop, whic...

7 years ago | 1 answer | 0

1

answer

Question


Can I directly upload matlab output to github repistory?
I produce outputs which I do not need to have on my computer, but I would like them to be uploaded to GitHub. How can I save my ...

7 years ago | 1 answer | 0

1

answer

Answered
How to pick five data points equally above and below ( five above and five below)
I believe this works: data = [1.2;3.5;4.7;4.9;5.9;6.3;7.9;8.0;10.0;10.5;11.8] givenpoint = 5.9 data_less_than_givenp...

7 years ago | 0

| accepted

Answered
Integration producd NaN as answer
I think you should delete the >=0 parts from line 8. Like this: y = Integration(2) function y = Integration(t) %Input a ...

7 years ago | 0

Answered
random number generation to add and subtract
Try this, it works for me. % invoke myfunction [firstnum secondnum thirdnum fourthnum]=myfunction % if the fourth numb...

7 years ago | 0

| accepted

Answered
Search string for special characters
Can't you use strrep? You can replace the special characters with something which works. https://uk.mathworks.com/help/matlab/r...

7 years ago | 0

Question


How can I make a line be ignored by importdata?
I have a txt file as input. It has a few lines which I don't want to use in my script. Is there anything I can do with the input...

7 years ago | 1 answer | 0

1

answer

Question


Nested function not assigning value to global variable
My main script invites a subfunction, which then invites different subfunctions. I want these subfunctions to modify global vari...

7 years ago | 2 answers | 0

2

answers

Question


How can I open the same program twice in matlab editor?
This would make editing much easier sometimes.

7 years ago | 1 answer | 0

1

answer

Question


Subfunction with output varargout returns only first element of cell array. Why?
This is my script: a=9; b=2; [varargout] = myfunc(a,b) c=varargout function [varargout] = myfunc(a,b) sum=...

7 years ago | 1 answer | 0

1

answer