Gelöst


Add two numbers
Given a and b, return the sum a+b in c.

fast 12 Jahre vor

Gelöst


Sum the 'edge' values of a matrix
Sum the 'edge' values of an input matrix (the values along the perimeter). Example [1 2 3 4 5 6 7 8 9] Output = ...

fast 12 Jahre vor

Gelöst


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

fast 12 Jahre vor

Gelöst


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

fast 12 Jahre vor

Gelöst


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

fast 12 Jahre vor

Gelöst


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

fast 12 Jahre vor

Frage


How to plot a 3-D matrix?
I understand that I can use isosurface to visualise a 3D matrix. In the Matlab example, isosurface(x,y,z,v,-3) what is...

etwa 12 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


Is there a way to speed up matrix calculations by Parallel Computing Toolbox?
For example, I have the following matrix calculation: for j = 1: 1000000 O(i,i,j) = M(i,i).* N(i,i).* J(i,i); en...

etwa 12 Jahre vor | 3 Antworten | 0

3

Antworten

Frage


Why imwrite generated gif files are smaller than they look like on the screen
I fixed the display figure size on screen by using set(gcf,'Position',[200,200,1000,1000]) Then I used imwrite to cre...

mehr als 12 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


boundary problems of 2-D convolution block in Simulink
Hi experts, recently I'm running simulation of pattern dynamics for the Brusseltor model in the simulink environment. To process...

mehr als 12 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


Create a matrix in Simulink and operate with convolution
Hi experts, I'm trying to run the simulation of the 2D Brusselator model in SImulink. Brusselator model is expressed as: htt...

mehr als 12 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Arrange a matrix with repeated rows
Hi,experts I have a raw matrix as: a = [125 97 126 104 97 125 104 126]; I'm looking fo...

etwa 13 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


scan txt file and change related information
Hi, experts I have a txt file, in which there are some information I want to adjust with efficiency. The txt file is actuall...

etwa 13 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


Connect nodes and edges with different layout
Hi, I create a adjacency matrix, in the form: <http://yed.yworks.com/wp-content/uploads/2011/08/format_adjacencymatrix1.png> ...

mehr als 13 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Operate a string in a cell matrix
Hi, I have a cell matrix imported from excel: [39] [1232] [ 567] [ NaN] [40] [ 48] ...

mehr als 13 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


How to save a figure to .ai?
hi all, I have a strange problem on my newly installed matlab 2012a. I want to save a matlab fig to .ai format, so I click "save...

mehr als 13 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Contributio of row/colum of a Hermitian matrix to the leading eigenvalue
Hi all, thanks in advance that if you can give any clues for my question below: Assume that I have a Hermitian matrix (M = M'...

etwa 14 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


Beating wave frequency detecting
Hi all, I know that two sine waves with different frequencies superimposed to create beating patterns, but how to detect the fre...

etwa 14 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Cross spectral matrix and its Karhunen-Loeve transform
Hi all, I'm doing signal processing but have met a few problems. I'm trying to reproduce the work represented by the paper: "Tr...

mehr als 14 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


Confused about Karhunen-Loeve Transform
Hi all, I've read lots of documents about KLT, but still get confused on how to correctly apply it to a data set. My references...

mehr als 14 Jahre vor | 1 Antwort | 1

1

Antwort

Frage


Paramerer setting for pmtm() multitaper method
Hi all, I'm trying to do spectral analysis by pmtm method: clear clc; close all % artificial data Fs = 300; ...

mehr als 14 Jahre vor | 2 Antworten | 0

2

Antworten