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

mer än 12 år ago | 0

| accepted

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

mer än 12 år ago | 0

Answered
scan elements one-by-one
a1=max(diff(p1)); a2=max(diff(p2));

mer än 12 år ago | 0

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

mer än 12 år ago | 0

| accepted

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

mer än 12 år ago | 1

| accepted

Answered
Writing a matlab function- get number of rows
Try size(x) to give you the size of the vectors doc size

mer än 12 år ago | 0

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

mer än 12 år ago | 2

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

mer än 12 år ago | 1

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

mer än 12 år ago | 0

| accepted

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

mer än 12 år ago | 4

| accepted

Answered
usb interface
this might be helpful <http://mbed.org/cookbook/Interfacing-with-Matlab>

mer än 12 år ago | 1

| accepted

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

mer än 12 år ago | 1

Solved


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

mer än 12 år ago

Solved


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

mer än 12 år ago

Solved


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

mer än 12 år ago

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

mer än 12 år ago | 0

| accepted

Solved


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

mer än 12 år ago

Solved


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

mer än 12 år ago

Solved


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]

mer än 12 år ago

Solved


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

mer än 12 år ago

Solved


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

mer än 12 år ago

Solved


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

mer än 12 år ago

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

mer än 12 år ago | 3

| accepted

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

mer än 12 år ago | 0

| accepted

Solved


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

mer än 12 år ago

Solved


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

mer än 12 år ago

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

mer än 12 år ago | 0

Solved


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

mer än 12 år ago

Solved


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.

mer än 12 år ago

Solved


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

mer än 12 år ago

Load more