Réponse apportée
Add a new row in an uitable dynamically using a pushbutton
what type of stuff are you sticking in this table? What are you expecting? if the data variable (place a breakpoint at data and...

presque 12 ans il y a | 3

Réponse apportée
Change colormap image processing
I would check to see if the figure is still open, or is the active figure. is the cmap = colormap; directly after you create th...

presque 12 ans il y a | 0

Réponse apportée
How to replace certain values in an existing array based off of inputdlg?
i think that last line should be [Rsh, Rs, Isc, Voc, n, index] = deal(answer{:}); for it to split answer into the diff...

presque 12 ans il y a | 0

Réponse apportée
Changing variable names based on a string
Sightly confused on what you're trying to do but here is my attempt. STR = 'Right'; %or M1 or PLIC % files needed ...

presque 12 ans il y a | 0

Réponse apportée
How to add values through a for loop?
there are two methods. if you need to save each iteration then in the for loop save it like below: for iter = 1:3 %cal...

presque 12 ans il y a | 1

Réponse apportée
Storing multiple image data in feature vector or .mat file,
Without any example implementation code, my thought is that in your loop, to go through each image, the feature vector is not in...

presque 12 ans il y a | 0

Réponse apportée
How to reshape 1-D to 2-D matrix with missing data?
Well you could do something like this. x = [ 1 1 1 1 1 2 2 3 3 3 ] y = [ 1 2 3 4 5 1 2 1 2 5 ] c = [ 2 1 2 1 2 1 2 1 ...

presque 12 ans il y a | 0

Réponse apportée
Change plot color for increasing or decreasing x values
from what you described you don't really need a for loop to implement it. here is a solution to get away from a for loop %m...

presque 12 ans il y a | 0

| A accepté

Réponse apportée
Plotting a line in matlab
I do not think you need to do the 1e6*xline as the current plot you have looks to be already scaled to Mbps. Also since you're ...

presque 12 ans il y a | 0

| A accepté

Réponse apportée
Matlab repeated use of xlsread and xlswrite to network drive
Without seeing how you're doing this i would say put in a debugging section in your script to check for key items. place a brea...

presque 12 ans il y a | 0

Réponse apportée
How can I plot overlay black land?
You can change the colormap used to display the image. First obtain the colormap used by: map = colormap; then change th...

presque 12 ans il y a | 1

Réponse apportée
make a movie from grayscale frames
Just as Adam suggests, I would also agree it looks like you should be passing the grey scale map in the second argument however ...

presque 12 ans il y a | 1

Réponse apportée
is it possible to draw a square of width 1000 pixels, which is always 1000 pixels wide, even if the size of the window is changed on the screeen?
I would use portions of this <http://www.mathworks.com/matlabcentral/answers/100792-in-matlab-how-do-i-obtain-information-about-...

presque 12 ans il y a | 1

| A accepté

Réponse apportée
For loop with the loop variable equal to a matrix
So i would suggest save this as a .m file so you can use the break points. If you put a breakpoint at the for loop and you step...

presque 12 ans il y a | 0

Réponse apportée
Matlab - verify if a string have any number
you can use the function regexp. example: ~isempty(regexp('scramble3','\d')) would return a 1. if you leave out ...

presque 12 ans il y a | 0

| A accepté

Réponse apportée
How can I have my code access multiple images automatically?
you can use the function dir() such as files = dir('*.jpg') which will return the file information for each jpeg into a structur...

presque 12 ans il y a | 0

| A accepté

Réponse apportée
Is there a faster way to plot wireframe cubes from their centers and sizes?
To do this quickly and to show you what you could do I didn't completely optimize this. X = repmat(verticesTemplate...

environ 12 ans il y a | 2

| A accepté

Réponse apportée
How do I plot the different values in a for loop on the same plot? (confusing problem!)
If i read your desired result correctly the issue is here for i = 1 : 23 for j = -0.05:-0.05:-1.0 Ycut2(i) = ...

environ 12 ans il y a | 0

| A accepté

Réponse apportée
Is there a way to apply multiple inputs to multiple functions?
yeah, its very simple, if you go x = [1.1 1.6 3.2 4.7 8.1] if you played around with it, then you'd figure out that if yo...

environ 12 ans il y a | 0

| A accepté

Réponse apportée
how to perform one plot
Depending on what you're trying to display (no labeled axes) perhaps using sort() or sortrows() to order the data in relation to...

environ 12 ans il y a | 0

Réponse apportée
Matlab Question Error! Index dimension error.
So just as Ben11 did state x(n+1) is undefined when you first attempt the while loop. In the initialization of the function the...

environ 12 ans il y a | 0

Réponse apportée
handles of a Button
are you using uicontrols to make your gui? if so this is an example. h = figure,h1 = uicontrol('Style','pushbut...

environ 12 ans il y a | 0

| A accepté

Réponse apportée
Variable / which matlab does not forget ?
You could use the userdata and store the values within the edit 1 box data field userdata = get(handles.edit1,'userdata'); ...

environ 12 ans il y a | 0

| A accepté

Réponse apportée
Determine the Z value of a 3D region for a given set of co-ordinates
the function interp2() will work. The example in the help/documentation is [X,Y,V] = peaks(10); [Xq,Yq] = meshgrid(-3:.1:3...

environ 12 ans il y a | 1

| A accepté

Réponse apportée
For loop or while loop? help please
or for k=1:3 if k==1, iMax = 7 else iMax = 6 end for i =1:iMax do something...

environ 12 ans il y a | 0

Réponse apportée
Order Image File Names With Time Stamps
if you're reading them in with dir('*.imageextension') and with your file name scheme then it should already be in order. if no...

environ 12 ans il y a | 0

| A accepté

Réponse apportée
To create and pop open an excel file
the first one should be easy enough as you know how to read the first 2 excel files and you can write to the 3rd excel file. us...

environ 12 ans il y a | 0

Réponse apportée
How do I prevent peak clipping when using audiowrite?
What is the max and min of your y after your hearing aid function and what was it before the hearing aid function? you may be w...

environ 12 ans il y a | 1

Réponse apportée
How to write data from matlab to excel horizontally?
What you would need to to is make the output a 1x3 array. i'm assuming that the output is a 3 row and 1 column array? if i...

environ 12 ans il y a | 1

| A accepté

Réponse apportée
i need change this to MATLAB CODE , its Necessary
the functions you'll need to use are kron() for the kronecker and ctranspose() or the symbol ' and eye() for the identity matrix...

environ 12 ans il y a | 0

Charger plus