Réponse apportée
How to export images to a single pdf file
There are some functions in the File Exchange but i find <http://www.mathworks.com/matlabcentral/fileexchange/19322-saveppt2 sav...

presque 12 ans il y a | 0

Réponse apportée
how to update value of a function at each time step
So we start off with something like this dt = 0.01; t=0:dt:10; K = zeros(size(t)); %initialize it K(1) = 3;%setup init...

presque 12 ans il y a | 1

| A accepté

Réponse apportée
Help with GUI panels
So what is happening in your examples is that you placed panel 2 inside panel 1. That is why in the initial panel contains both...

presque 12 ans il y a | 2

| A accepté

Réponse apportée
Need help to write general syntax for matlab program for combining results of all inputs
just perform the standard concatenation of Results = []; for d=8:9 Results = [Results; your_function(d)]; end ...

presque 12 ans il y a | 0

Réponse apportée
How can I average points with just the same x-coordinate?
if you have more than 1 plot as in >>plot(x,y) but more of >>plot(x1,y1,x2,y2) etc or a held plot then you can try this. ...

presque 12 ans il y a | 0

Réponse apportée
How to count the number of hours with reference to a MATLAB formatted date?
the number returned from datenum is in days. so if we go time1 = datenum(datestr(now)); pause(1); time2 = datenum(date...

presque 12 ans il y a | 0

| A accepté

Réponse apportée
regenerate Array name form Plot (Important Question)
I would say when you're defining each plot you also set the X and Y data source parameters located in the axes properties. See ...

presque 12 ans il y a | 0

Réponse apportée
Rapid Vector Matching/Search Problem
you'll need to use the function ismember() such as: found_row = ismember(A,B,'rows') which will return a logical arra...

presque 12 ans il y a | 1

| A accepté

Réponse apportée
I am getting error Index exceeds matrix dimensions. What am I missing here?
Seeing how that was incredibly hard to read, i can only see it being the fid(non_vowels) at the very end. fid is the file ident...

presque 12 ans il y a | 0

Réponse apportée
Cell-mode options in command line
I do not think that is possible as matlab doesn't have "goto" type statements and cells cannot be named. What can be done is fo...

presque 12 ans il y a | 0

Réponse apportée
Keyboard shortcut to evaluate current line?
This is not entirely 1 button press but you can use the documentation here <http://blogs.mathworks.com/community/2009/09/28/conf...

presque 12 ans il y a | 1

Réponse apportée
Duplicating values into other matrix elements
not entirely sure what you mean by "rewrite the values in the rows below to true also" but to do what you're attempting in a fas...

presque 12 ans il y a | 0

Réponse apportée
is there a layout manager for making Matlab GUI's?
Well, it took a while for me to remember how to search my previous answers for this but you can use guide in a semi-automatic fa...

presque 12 ans il y a | 0

| A accepté

Réponse apportée
Delete specific rows from a matrix
the use of the function any() can find where there are any numbers equal to one. A= [7,7;2,2;1,1;3,3] A(any(A==1,2),:)=[...

presque 12 ans il y a | 1

| A accepté

Réponse apportée
FOR loop control structure
k will be exactly as you say however the for loop will iteratively go through each item within k. if you put in a break point i...

presque 12 ans il y a | 0

A résolu


Find a Pythagorean triple
Given four different positive numbers, a, b, c and d, provided in increasing order: a < b < c < d, find if any three of them com...

presque 12 ans il y a

A résolu


Area of an Isoceles Triangle
An isosceles triangle has equal sides of length x and a base of length y. Find the area, A, of the triangle. <<http://upload...

presque 12 ans il y a

A résolu


Finding Perfect Squares
Given a vector of numbers, return true if one of the numbers is a square of one of the other numbers. Otherwise return false. E...

presque 12 ans il y a

A résolu


Length of a short side
Calculate the length of the short side, a, of a right-angled triangle with hypotenuse of length c, and other short side of lengt...

presque 12 ans il y a

A résolu


Is this triangle right-angled?
Given three positive numbers a, b, c, where c is the largest number, return *true* if the triangle with sides a, b and c is righ...

presque 12 ans il y a

A résolu


Length of the hypotenuse
Given short sides of lengths a and b, calculate the length c of the hypotenuse of the right-angled triangle. <<http://upload....

presque 12 ans il y a

A résolu


The Hitchhiker's Guide to MATLAB
Output logical "true" if the input is the answer to life, the universe and everything. Otherwise, output logical "false".

presque 12 ans il y a

A résolu


Sum all integers from 1 to 2^n
Given the number x, y must be the summation of all integers from 1 to 2^x. For instance if x=2 then y must be 1+2+3+4=10.

presque 12 ans il y a

A résolu


Given a window, how many subsets of a vector sum positive
Given a vector: [1 0 -1 3 2 -3 1] and a window of 2, A sliding window would find: 1 + 0 = 1 0 - 1 = -1 ...

presque 12 ans il y a

A résolu


Create times-tables
At one time or another, we all had to memorize boring times tables. 5 times 5 is 25. 5 times 6 is 30. 12 times 12 is way more th...

presque 12 ans il y a

A résolu


Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

presque 12 ans il y a

A résolu


Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

presque 12 ans il y a

A résolu


Swap the first and last columns
Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...

presque 12 ans il y a

A résolu


Make a checkerboard matrix
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Example...

presque 12 ans il y a

Réponse apportée
GUI Guide Help with edit text used as input to external functions returning static text
in the matlab command window type in guide and look at the example "GUI with uicontrols" it has everything except passi...

presque 12 ans il y a | 0

Charger plus