Gelöst


Bullseye Matrix
Given n (always odd), return output a that has concentric rings of the numbers 1 through (n+1)/2 around the center point. Exampl...

etwa 6 Jahre vor

Beantwortet
How can i do a spider diagram (rhomboidal)?
See the following pages with Matlab's plotting capability and examples - I suspect you'r best achieving the radar plot with the...

etwa 6 Jahre vor | 0

Beantwortet
How to concatenate matrices
You must have got an error message when executing - what did it say? That should be your first clue as to what's wrong with the ...

etwa 6 Jahre vor | 0

| akzeptiert

Beantwortet
Publishing the results as a webpage
Yes, it is possible. If you're code in in the *live script (.mlx)*, go to: * Live Script → Save → Export to HTML <</ma...

etwa 6 Jahre vor | 0

| akzeptiert

Beantwortet
Find The Relationship between Data Set
Look into the following fucntions: * <https://uk.mathworks.com/help/matlab/ref/plotmatrix.html?searchHighlight=plotmatrix&s_t...

etwa 6 Jahre vor | 0

Beantwortet
Inserting blank columns at specific points
<https://uk.mathworks.com/matlabcentral/profile/authors/12095941-jacob-barrett-newton Jacob Barrett-Newton> thank you. * In g...

etwa 6 Jahre vor | 0

Beantwortet
Inserting blank columns at specific points
% import data to Matlab as a Table T_data = readtable('Data_of_interest.csv'); % get rid of meaningless columns/rows...

etwa 6 Jahre vor | 1

| akzeptiert

Beantwortet
How to calculate Cycles
Consider the following code: data = [0.2 3 12 18 22 0.8 1.5 2.9 8 11 17 1 4 5 8 13 17 23 28]' % preallocation cyc...

etwa 6 Jahre vor | 1

Beantwortet
how to create matrix with multiple column vectors?
Regarding 'information about channel of particular user': # Is it all numerical values? # Is it mixed data i.e. channel 1 ho...

etwa 6 Jahre vor | 0

Gelöst


Better bullseye matrix
<http://www.mathworks.com/matlabcentral/cody/problems/18-bullseye-matrix Problem 18> asks to create a bullseye matrix like this:...

etwa 6 Jahre vor

Gelöst


Produce a cosine wave
Produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/cosine-eqn.png>>

etwa 6 Jahre vor

Gelöst


Connect blocks in a model
Connect the blocks in the model to produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/connect-blocks...

etwa 6 Jahre vor

Gelöst


Make a Star Pyramid
Create a star pyramid. First line will have 1 star, second will have two stars and so on... a basic program which is easily done...

etwa 6 Jahre vor

Gelöst


Create a Multiplication table matrix...
Create a product table in this format: P = [ 1 2 3 4 5; 2 4 6 8 10; 3 6 9 12 15; 4 8 12 1...

etwa 6 Jahre vor

Gelöst


"mirror" matrix
Create n x 2n "mirror" matrix of this type: Examples For n = 2 m = [ 1 2 2 1 1 2 2 1 ] For n = 3 m = ...

etwa 6 Jahre vor

Gelöst


Magic is simple (for beginners)
Determine for a magic square of order n, the magic sum m. For example m=15 for a magic square of order 3.

etwa 6 Jahre vor

Gelöst


Which doors are open?
There are n doors in an alley. Initially they are all shut. You have been tasked to go down the alley n times, and open/shut the...

etwa 6 Jahre vor

Beantwortet
segregate table in mat lab
Consider the following code: % table t = array2table(rand(10,2)) rowNames = {'a1' 'a2' 'a3' 'a4' 'a5' 'b1' 'b2' 'b3' ...

etwa 6 Jahre vor | 0

Beantwortet
Write pre-existing variable names and their values to excel
If your variables are all numeric then consider the following code: % create variables a = 5; b = 10; c = 15; d...

etwa 6 Jahre vor | 0

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 6 Jahre vor

Beantwortet
How do I plot this?? "if, elseif, else"
Firstly, I think that your first loop overwrites the *t* value instead of creating a vector of *t values*. For what you're...

etwa 6 Jahre vor | 1

| akzeptiert

Beantwortet
no repeating numbers in a matrix
% 'mNumber' - number of 'm's' % 'elements' - number of elements in each 'm' mNumber = 2; elements = 3; M...

etwa 6 Jahre vor | 0

Beantwortet
How to flip sign in the X values, from time t=0 ?
Flip sign as in changing from positive to negative? x(t>0) = -x(t>0)

etwa 6 Jahre vor | 2

| akzeptiert

Frage


Changing class of the variables in the table - I can't get it to work without a loop
See attached sample data. It contains a table with recorded data in the following fashion: * Column 1: duration * Column ...

etwa 6 Jahre vor | 1 Antwort | 0

1

Antwort

Beantwortet
Division inside an array
fri = 1:3 j = 0:6 j = j' result = j./fri

etwa 6 Jahre vor | 0

Beantwortet
Array from text file
You can use Matlab import function and then change the import setting to what you need: <</matlabcentral/answers/uploaded_fil...

etwa 6 Jahre vor | 0

Gelöst


Target sorting
Sort the given list of numbers |a| according to how far away each element is from the target value |t|. The result should return...

etwa 6 Jahre vor

Gelöst


Nearest Numbers
Given a row vector of numbers, find the indices of the two nearest numbers. Examples: [index1 index2] = nearestNumbers([2 5 3...

etwa 6 Jahre vor

Gelöst


Counting Money
Add the numbers given in the cell array of strings. The strings represent amounts of money using this notation: $99,999.99. E...

etwa 6 Jahre vor

Beantwortet
How to create a box inside box?
It would have been easier if you'd attached the drawing of what your're finally trying to achieve as the description is quite un...

etwa 6 Jahre vor | 0

| akzeptiert

Mehr laden