Community Profile

photo

Pal Szabo


Last seen: fast 4 Jahre vor Aktiv seit 2017

Followers: 0   Following: 0

Kontakt

Natural Sciences BA, Cambridge, UK, 2016-2019

Statistiken

  • Knowledgeable Level 2
  • Thankful Level 3
  • First Answer

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


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/...

mehr als 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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 ...

mehr als 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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...

mehr als 6 Jahre vor | 1 Antwort | 0

1

Antwort

Beantwortet
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://...

mehr als 6 Jahre vor | 0

| akzeptiert

Frage


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...

mehr als 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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 ...

mehr als 6 Jahre vor | 1 Antwort | 0

1

Antwort

Beantwortet
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...

mehr als 6 Jahre vor | 0

| akzeptiert

Beantwortet
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 ...

mehr als 6 Jahre vor | 0

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

mehr als 6 Jahre vor | 0

| akzeptiert

Beantwortet
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...

mehr als 6 Jahre vor | 0

Frage


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...

mehr als 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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...

mehr als 6 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

mehr als 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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=...

mehr als 6 Jahre vor | 1 Antwort | 0

1

Antwort