Réponse apportée
GUIquestion
Your position of [350 650 400 30] is placing the box and text outside the figure. USe: str1 = uicontrol('unit','pixel'...

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
How to plot logarithmic graph in matlab
doc loglog doc semilogx this helps as well: < http://www.mathworks.com/help/techdoc/ref/loglog.html>

plus de 14 ans il y a | 0

Réponse apportée
scan elements one-by-one
a1=max(diff(p1)); a2=max(diff(p2));

plus de 14 ans il y a | 0

Réponse apportée
How to compress JPEG image using Matlab?
Here are some links: <http://www.mathworks.com/matlabcentral/fileexchange/4772-image-compression> <http://www.owlnet.rice...

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
Averages of Vectors
Since you have reading one minute apart, you should have 24*40=1440 readings. You need 48 readings, i.e. mean from 1-30, 31-60 e...

plus de 14 ans il y a | 1

| A accepté

Réponse apportée
Writing a matlab function- get number of rows
Try size(x) to give you the size of the vectors doc size

plus de 14 ans il y a | 0

Réponse apportée
Display Text Without Formatting
How about this one fprintf('%c \b',length(str)-1,str) Output <a href="test">TEST</a>

plus de 14 ans il y a | 2

Réponse apportée
Display Text Without Formatting
The only way I could think of is: fprintf('< \b');fprintf('a href="test">TEST</a>') Outputis: <a href="test">TEST...

plus de 14 ans il y a | 1

Réponse apportée
matlab on ubuntu
Here is some information to run matlab on ubuntu.. <https://help.ubuntu.com/community/MATLAB> hope this helps. I have...

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
Plot time data
You are getting an error because a is a string You can use the following c=datenum(a, 'HH:MM'); % convert date into a...

plus de 14 ans il y a | 4

| A accepté

Réponse apportée
usb interface
this might be helpful <http://mbed.org/cookbook/Interfacing-with-Matlab>

plus de 14 ans il y a | 1

| A accepté

Réponse apportée
How to show the axes?
you could do it from the command line doc axes or you could plot the figure and put them using the Figure editor GUI.

plus de 14 ans il y a | 1

A résolu


Solve the Sudoku Row
*Description* A simple yet tedious task occurs near the end of most Sudoku-solving algorithms, computerized or manual. The ta...

plus de 14 ans il y a

A résolu


Bottles of beer
Given an input number representing the number of bottles of beer on the wall, output how many are left if you take one down and ...

plus de 14 ans il y a

A résolu


given 3 sides, find area of this triangle
1:3 -> 0; 3:5 -> 6

plus de 14 ans il y a

Réponse apportée
Convert the Mathematica expression to matlab
MAtlab has inbuilt function for Taylor series doc taylor <http://www.mathworks.com/help/toolbox/symbolic/taylor.html>

plus de 14 ans il y a | 0

| A accepté

A résolu


No Twins?
Write a function that accepts as input a vector and returns the same vector, but retaining only the first occurrence of an eleme...

plus de 14 ans il y a

A résolu


surface of a spherical planet
you just discovered its circumference, that is the input.

plus de 14 ans il y a

A résolu


Reverse the vector
Reverse the vector elements. Example: Input x = [1,2,3,4,5,6,7,8,9] Output y = [9,8,7,6,5,4,3,2,1]

plus de 14 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...

plus de 14 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...

plus de 14 ans il y a

A résolu


Weighted average
Given two lists of numbers, determine the weighted average. Example [1 2 3] and [10 15 20] should result in 33.333...

plus de 14 ans il y a

Réponse apportée
Task Parallelism in Matlab
Don't know if this will help but NASA has some simple task parallel example for MATLAB on the following wiki page <http://ww...

plus de 14 ans il y a | 3

| A accepté

Réponse apportée
lab manual
Here is one we use for Basic MATLAB intro lab <http://oc.its.ac.id/ambilfile.php?idp=1625>

plus de 14 ans il y a | 0

| A accepté

A résolu


Balanced number
Given a positive integer find whether it is a balanced number. For a balanced number the sum of first half of digits is equal to...

plus de 14 ans il y a

A résolu


radius of a spherical planet
you just measured its surface area, that is the input.

plus de 14 ans il y a

Réponse apportée
Addition of gaussian noise
To add white Gaussian noise: (assuming you are adding noise for each time step, have your signal in vector 'signal') r...

plus de 14 ans il y a | 0

A résolu


Roll the Dice!
*Description* Return two random integers between 1 and 6, inclusive, to simulate rolling 2 dice. *Example* [x1,x2] =...

plus de 14 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.

plus de 14 ans il y a

A résolu


Distance walked 1D
Suppose you go from position 7 to 10 to 6 to 4. Then you have walked 9 units of distance, since 7 to 10 is 3 units, 10 to 6 is 4...

plus de 14 ans il y a

Charger plus