Community Profile

photo

Csaba


Institute of Biophysics, Biological Research Center

Last seen: 6 månader ago Active since 2013

Statistics

  • Knowledgeable Level 2
  • First Review
  • Thankful Level 3
  • Revival Level 1
  • First Answer

View badges

Content Feed

View by

Question


How to select several intervals from a vector?
I have a vector (Y). I want to select a region from this vector. If this is a single region it is easy X=Y(i_from:i_to); What ...

mer än 2 år ago | 2 answers | 0

2

answers

Question


How to change the layer order of axes?
I have figure with tiledlayout, e.g. with (2,2) arrangement. The layer order will be tile-1, tile-2, tile-3, tile-4. Tile-4 is t...

mer än 2 år ago | 2 answers | 0

2

answers

Question


How to concatenate a (REAL) string vector?
I have a string matrix i.e. A=["abcd",.....,"efghijk";... . ... . ... . ... "lm",......, "opkq"]; How to c...

nästan 3 år ago | 1 answer | 0

1

answer

Question


How to add additional rows to uitable?
I have (X,Y) vextor pairs for storing spectral data. If someone wants to correct the vectors I make an uitable user input, where...

ungefär 3 år ago | 1 answer | 0

1

answer

Answered
Edit box 'keypressfcn' does not refresh the Edit box, unless I am debugging the callback function
I have found a workaround for the problem. If I change the focus from the edit field within the keypresscallback (i.e. to anothe...

mer än 3 år ago | 0

| accepted

Question


Edit box 'keypressfcn' does not refresh the Edit box, unless I am debugging the callback function
I have the following code (I want to avoid non numeric input in the edit box): hfig=figure(1); hhh = uicontrol(hfig....

mer än 3 år ago | 2 answers | 0

2

answers

Question


Why I cannot "set" what I got with "get"?
I have the following code: hfig=figure(1); clf; c(1) = uicontrol(hfig... ,'Style','text'... ,'P...

mer än 3 år ago | 1 answer | 0

1

answer

Question


Change "Edit" uicontrols background (how to set a structure array element to a specific value?)
I have a row of "edit" uicontrols. The handles of these are in a vector (e.g. in c). I want to change the background color of ea...

mer än 3 år ago | 1 answer | 0

1

answer

Question


Concatenate two cell colums with different length, in Variables window it is possible while horzcat gives "not consistent" error.
I have two celll columns. a={'11';'21';'31'}; b={'12';'22'}; if I issue the c=[a,b]; command it gives the error Error usi...

mer än 3 år ago | 2 answers | 0

2

answers

Question


How to recover VideoReader object (saved in 32 bit MATLAB into a mat file) in 64 bit MATLAB??
I have several *.mat file which contains a Videoreader variable. In a 32 bit MATLAB it looks like this: ans = VideoReader...

ungefär 4 år ago | 1 answer | 0

1

answer

Question


How to define a "ValueChangingFcn" in a GUIDE definied slider
There is a "ValueChangingFcn" if I define a slider with uicontrol. I could not find it in the Property Inspector of the GUIDE sl...

ungefär 4 år ago | 1 answer | 0

1

answer

Answered
Replace with another curve ??
plot(t,sdata,'o',t,movmean(sdata,30),'-'); Csaba

ungefär 4 år ago | 0

| accepted

Answered
Change type lines in diagram in matlab
I do not really understand your goal. What you are doing is plotting ten pairs of numbers. . What do you mean on "smooth"? The ...

ungefär 4 år ago | 0

| accepted

Question


How to save an icon made in GUIDE toolbar editor?
I have an icon, made by myself, in one of my (GUIDE) programs. I would like to have the same icon in another program. I could no...

mer än 4 år ago | 1 answer | 0

1

answer

Question


When brushing the same data point twice it toggles the brushing state. Is it possible to change from "toggle" to "unite"?
When brushing the data twice (using SHIFT) and including the same data point it changes the brushing state from on to off. Is th...

mer än 4 år ago | 0 answers | 0

0

answers

Answered
Index exceeds matrix dimensions
E(i) = y(i) + V(i)^2 / (2*g); if i == 1; dE(i) = 0; else ,dE(i) = E(i)-E(i+1); , end You...

mer än 4 år ago | 0

| accepted

Question


uigetfile with default filter
I have a program where I am using uigetfile with several (~7) filters. The users complained about that the file selection window...

ungefär 5 år ago | 2 answers | 1

2

answers

Question


Surf coloring question: How CData works?
I am trying to color different surf pictures. Surf by default colors the surface using the colorbar from minimum of z data up t...

ungefär 5 år ago | 1 answer | 0

1

answer

Question


How to check if the CUDA capable device is really working with MATLAB?
I have a program, where I want to check if is it possible to use CUDA calculation. gpuDeviceCount ans = 1 says th...

ungefär 5 år ago | 1 answer | 1

1

answer

Question


How to correctly vectorize?
Hi, I have this code (Matlab 2018b): m=5; f=[.1,-3,.05,70.56,110.32456]; c=zeros(m); M=10; for i=1:M for j=1:m ...

mer än 5 år ago | 1 answer | 0

1

answer

Question


In the popupmenu how to show the serial number of the choice?
I have a list (string cell array) where I store the description of an object. When I present it in the popupmenu it would be nic...

mer än 5 år ago | 0 answers | 0

0

answers

Answered
Programmatically select a specific object when switching on plotedit
OK. Sorry folks, I have found it. In the defining function: f=figure; object=uicontrol(.........,'ButtonDownFcn',...

nästan 6 år ago | 1

| accepted

Question


Programmatically select a specific object when switching on plotedit
Is there any way to select an object when issuing the command plotedit(hfig,'on'); I tried to overwrite 'CurrentObject'...

nästan 6 år ago | 3 answers | 1

3

answers

Question


How to put an axes into the foreground layer in GUI (made by GUIDE)?
I have a GUI with several axes defined. When running the program I would like to select an axes and enlarge or move it inside th...

nästan 6 år ago | 2 answers | 0

2

answers

Question


How to make a "Do not touch!" dialog box?
I have a GUI where there are several pushbuttons, selection boxes, etc. By pushing pushbuttons the program calculates something ...

ungefär 6 år ago | 2 answers | 0

2

answers

Answered
load structure array with a function and extract the variables
I had a similar problem. Here is a solution (maybe not the best one): filename='*'; % you get it from somewhere [path,n...

ungefär 6 år ago | 0

Answered
How to get the indices corresponding to the width of a peak?
I do not know why these 0.5*height indices are important since they actually do not have any meaning. When the peaks are overwhe...

mer än 6 år ago | 0

| accepted

Question


How to put symbols in GUI static textbox?
I have tried the "Interpreter" property but it does not exist for the static text box in a GUI made by GUIDE. Is there any way t...

mer än 6 år ago | 1 answer | 0

1

answer

Question


How to position a GUI window the same place and size where it was closed?
Running the GUI every user puts the GUI window to different places, as it is convenient for them (especially if they have severa...

mer än 6 år ago | 1 answer | 0

1

answer

Question


GUI with two axes exactly on the same position, toolbar with zoom, handle, etc.. How user can select between two axes to use toolbars on different axes?
I have a GUI where there are two axes on exactly the same position and size. The top axes are transparent. On the toolbar I have...

mer än 6 år ago | 0 answers | 0

0

answers

Load more