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

11 years ago | 3

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

11 years ago | 0

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

11 years ago | 0

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

11 years ago | 0

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

11 years ago | 1

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

11 years ago | 0

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

11 years ago | 0

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

11 years ago | 0

| accepted

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

11 years ago | 0

| accepted

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

11 years ago | 0

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

11 years ago | 1

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

11 years ago | 1

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

11 years ago | 1

| accepted

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

11 years ago | 0

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

11 years ago | 0

| accepted

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

11 years ago | 0

| accepted

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

11 years ago | 2

| accepted

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

11 years ago | 0

| accepted

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

11 years ago | 0

| accepted

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

11 years ago | 0

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

11 years ago | 0

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

11 years ago | 0

| accepted

Answered
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'); ...

11 years ago | 0

| accepted

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

11 years ago | 1

| accepted

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

11 years ago | 0

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

11 years ago | 0

| accepted

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

11 years ago | 0

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

11 years ago | 1

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

11 years ago | 1

| accepted

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

11 years ago | 0

Load more