Answered
A palindromic number reads the same both ways. The largest palindrome made from the product of two 2-digit numbers is 9009 = 91 × 99. Write a function that is called this way: >> n = palin_product(dig,lim);
@Wasi: The question is completely unclear. 1. In the title you write "n = palin_product(dig,lim)", but what are n, dig and li...

9 years ago | 2

Answered
Test for within cell array boundaries
myarray = cell(8); search = [9, 9]; if all(search <= size(myarray)) ... existing You can create such a function...

9 years ago | 0

Answered
Images Call within For Loop
The error message is clear: you try to access the k.th element of |manual_images|, but this array has less than k elements. This...

9 years ago | 1

| accepted

Answered
I have windows 7 ultimate service pack 1 with 32bit and 3GB Ram, Can i get any metlab version to use as student
R2015b was the last release with 32 bit support. You have to ask the official Matlab support, if you can get this with a student...

9 years ago | 0

Answered
Create new GUI which opening on the window
You want a _new_ GUI appear in the _same_ window? This sounds strange. Perhaps you want a GUI with multiple tabs? Actually op...

9 years ago | 0

Answered
using Matlab student version as student free
As usual for questions about the license: Contact the official MathWorks support. Their answer will be more reliable than the va...

9 years ago | 1

Answered
How can i correctly write an if "yes or no" statement?
if strcmpi(x, 'yes') ... elseif strcmpi(x, 'no') ... else error('Please type "yes" or "no"'); end T...

9 years ago | 1

| accepted

Answered
How to compare pixel co-ordination using a for loop ?
You have to define, what should happen in x2==x. What do you want to compare? x2==x is an elementwise comparison: Either both ar...

9 years ago | 1

| accepted

Answered
how can i convert decimal to hex or another basis without use dec2hex ?
I really do like this forum. But sometimes I suggest to take the time to search in the net. You can imagine, that this problem h...

9 years ago | 0

| accepted

Answered
How to create an RGB image?
No, there is no such command. Accessing the channels is so easy, that it is not worth to create a dedicated function: RGB ...

9 years ago | 3

Answered
Error when attempting to use xlswrite function to print 2d array to existing Excel file
|TestData1.xlsx| is treated as a struct withe the field 'xlsx'. But you mean a file name, which is a string. Then you need quote...

9 years ago | 0

Answered
Most correct way to pass shared data between callbacks in GUIDE gui application
You find many thread about this topic today: <https://www.mathworks.com/matlabcentral/answers/?term=share+data+between+callbacks...

9 years ago | 1

Answered
How to get directory from user and display in in MultiTab GUI?
I guess boldly, that the field 'LoadFilePath' does not exist in the |handles| struct is this correct? Then try to find out, wher...

9 years ago | 0

Answered
I am using a function and i want to update counter on each function call and use value of that counter for some condition.But every function call counter initialize to zero and if i use counter=counter+1 it always give counter =1 so how to do this?
The question might be more clear, if you post the relevant code. The reader cannot guess, what code causes the observed "every f...

9 years ago | 1

| accepted

Answered
Finding similar values in two different cell arrays and comparing them?
The failing line can be replaced by: index = find(strcmp(board(:,1).', stn) & [board{:,2}] == hour);

9 years ago | 0

Answered
Help me with this error!
The error message tells you, that the file dml_dipmex.h is not found in the line: #include <dml_dipmex.h> The triangle p...

9 years ago | 0

Answered
Load structure without delete variable
Yes, there is a method. Simply use another variable: matrixReloaded = load('FileName.mat'); matrix.A = matrixReloa...

9 years ago | 1

| accepted

Answered
Matlab R2016a license issue
This sounds like a problem for the official support of MathWorks, not for the public forum.

9 years ago | 1

Answered
error out of memory
Without knowing any details about the code, it is hard to guess, what happens. The Xeon machine has 8 cores compared to 2, but o...

9 years ago | 1

Answered
How can i use realtime data from Inet pages?, like supply frequency?
I assume that the owner of this web site knows exactly, how the data can be used as a service. For technical and legal questions...

9 years ago | 0

Answered
Bug: Printing circular ('o') markers to vector graphics.
Please read <https://www.mathworks.com/matlabcentral/answers/328478-misplaced-line-markers-after-saving-as-eps-pdf>.

9 years ago | 0

Answered
Inconsistent figure width on the screen (and exported)
Do you create the output using |print| and e.g. the PDF or EPS format? Then the size on the screen does not matter at all, becau...

9 years ago | 0

Answered
How to convert HDF5 format to .mat data?
# Read the HDF5 file using <https://www.mathworks.com/help/matlab/ref/hdf5read.html hdf5read> # Create the MAT file by |save| ...

9 years ago | 0

| accepted

Answered
Save values to Gui and check values recursively
You have the handles struct already. So update it and collect the values in it. Create the field handles.n = []; handles...

9 years ago | 0

Answered
The cause of 'Error while evaluating uicontrol Callback' in GUI window
Using globals is a really bad idea. This impedes the debugging, because you cannot find reliable, which code is resposnible for ...

9 years ago | 0

| accepted

Answered
How to split a vector into unequal sections?
If you have a large data set, creating a bunch of variables can waste memory. Note that each array has an overhead of about 100 ...

9 years ago | 1

Answered
Why do I get the error message of using too many input argument when using the spectrogram function?
The calling sequence is: [s,f,t] = spectrogram(x,window,noverlap,f,fs) x is the signal. I do noth think that the file na...

9 years ago | 0

Answered
Reading Table at fixed interval?
Using the indices 1:2:10 is very useful, if you need the indices 1,3,5,7,9. In all other cases it is not useful in any way. P...

9 years ago | 1

| accepted

Load more