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

etwa 14 Jahre vor | 0

| akzeptiert

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

etwa 14 Jahre vor | 0

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

etwa 14 Jahre vor | 0

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

etwa 14 Jahre vor | 0

| akzeptiert

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

etwa 14 Jahre vor | 1

| akzeptiert

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

etwa 14 Jahre vor | 0

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

etwa 14 Jahre vor | 2

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

etwa 14 Jahre vor | 1

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

etwa 14 Jahre vor | 0

| akzeptiert

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

etwa 14 Jahre vor | 4

| akzeptiert

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

etwa 14 Jahre vor | 1

| akzeptiert

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

etwa 14 Jahre vor | 1

Gelöst


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

etwa 14 Jahre vor

Gelöst


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

etwa 14 Jahre vor

Gelöst


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

etwa 14 Jahre vor

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

etwa 14 Jahre vor | 0

| akzeptiert

Gelöst


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

etwa 14 Jahre vor

Gelöst


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

etwa 14 Jahre vor

Gelöst


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]

etwa 14 Jahre vor

Gelöst


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

etwa 14 Jahre vor

Gelöst


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

etwa 14 Jahre vor

Gelöst


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

etwa 14 Jahre vor

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

etwa 14 Jahre vor | 3

| akzeptiert

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

etwa 14 Jahre vor | 0

| akzeptiert

Gelöst


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

etwa 14 Jahre vor

Gelöst


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

etwa 14 Jahre vor

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

etwa 14 Jahre vor | 0

Gelöst


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

etwa 14 Jahre vor

Gelöst


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.

etwa 14 Jahre vor

Gelöst


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

etwa 14 Jahre vor

Mehr laden