Community Profile

photo

Pal Szabo


Last seen: quasi 4 anni fa Attivo dal 2017

Natural Sciences BA, Cambridge, UK, 2016-2019

Statistiche

  • Knowledgeable Level 2
  • Thankful Level 3
  • First Answer

Visualizza badge

Content Feed

Visto da

Domanda


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

oltre 6 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 6 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 6 anni fa | 1 risposta | 0

1

risposta

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

oltre 6 anni fa | 0

| accettato

Domanda


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

oltre 6 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 6 anni fa | 1 risposta | 0

1

risposta

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

oltre 6 anni fa | 0

| accettato

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

oltre 6 anni fa | 0

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

oltre 6 anni fa | 0

| accettato

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

oltre 6 anni fa | 0

Domanda


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

oltre 6 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 6 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 6 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 6 anni fa | 1 risposta | 0

1

risposta