Respondida
plot help
You can manually set the axis xlim([240 275])

alrededor de 14 años hace | 0

Respondida
Solving for c in v(t,g,m,c) given intial v,g,m,t
Are you looking for a symbolic solution? If you want a numerical one, you can use |fzero| v = 28, g = 9.81, m =90, t =4; ...

alrededor de 14 años hace | 1

| aceptada

Respondida
how to test error
You ma be able to use |try/catch| http://www.mathworks.com/help/techdoc/ref/try.html

alrededor de 14 años hace | 0

| aceptada

Respondida
Close my terminal but keep matlab running on a remote Ubuntu
I normally use VNC for such purpose. I started a VNC server on the remote machine and then connect to it using a VNC client. Onc...

alrededor de 14 años hace | 0

Respondida
String search
It is probably easier to write all lines that have the specific string into a new file so you don't have to worry about the file...

alrededor de 14 años hace | 2

Respondida
Urgent: I dont have a clue how to merge to Matrices and split-up Arrays.
For part (a), you can do the following: DataA= [1 120 1 130 2 140 3 180 3 160]; DataB= [1 91 2 92 ...

alrededor de 14 años hace | 0

Respondida
help installing dsp toolbox on existing MATLAB Version 7.10.0.499 (R2010a) for Mac OS X Version: 10.6.8
Does the instruction say that you will be able to see it using "ver"? This is not a toolbox from MathWorks so I don't think "ver...

alrededor de 14 años hace | 1

Respondida
Rotation of a set of points onto the X axis
I'm not sure why you need to play with theta, unless you care about the orientation. If you just want the line to become horizon...

alrededor de 14 años hace | 0

Respondida
From normal vector (and point) to 3D plane
Like Jan mentioned, the question you are asking does not have a unique solution, so you may want to clarify it a little bit. ...

alrededor de 14 años hace | 0

Respondida
Get information of property type of object properties (i.e. 'dependent')
You can use meta class and access PropertyList http://www.mathworks.com/help/techdoc/ref/meta.class.html http://www.mathwo...

alrededor de 14 años hace | 1

| aceptada

Respondida
psd ----> spectrum psd?
You will replace line [Yxx,f] = psd(y,NFFT,fs,NFFT,NOVERLAP); with hspec = spectrum.welch('OverlapPercent',0,'Seg...

alrededor de 14 años hace | 0

Respondida
psd ----> spectrum psd?
You need to replace |psd| call with corresponding |spectrum.psd| code. Here is an example showing how to use |spectrum.psd| to c...

alrededor de 14 años hace | 0

Respondida
How to save these values in a matrix
Use a for loop and preallocate z, i.e., add z = zeros(91*91,2) at front and then replace the assignment to z with c...

alrededor de 14 años hace | 1

Respondida
Copyfile without overwriting
I don't think you can do that with |copyfile|. You can do it with |fopen|, but you need to open it with option 'a', and then app...

alrededor de 14 años hace | 0

| aceptada

Respondida
Plotting lines from random number generators
I don't quite understand what you mean by plotting them as straight lines, do you want to connect them to the center? If so, jus...

alrededor de 14 años hace | 0

Respondida
Using Variable Contents to Create Variable names
http://www.mathworks.com/matlabcentral/answers/19981-assigning-data-to-variable-names-in-a-vector-during-a-for-loop http://ww...

alrededor de 14 años hace | 0

Respondida
random signal delay
There are two questions in your post so I'm not sure if I understand exactly what you look for. I'll include my thoughts below: ...

alrededor de 14 años hace | 0

Respondida
Quickest way to get points in a matrix given two 1-D arrays?
A(sub2ind(size(A),B(:),C(:)))

alrededor de 14 años hace | 0

| aceptada

Respondida
switch
There are several examples in the documentation doc switch http://www.mathworks.com/help/techdoc/ref/switch.html

alrededor de 14 años hace | 0

Respondida
cheby1
This is clearly explained in documentation. doc cheby1 http://www.mathworks.com/help/toolbox/signal/ref/cheby1.html |...

alrededor de 14 años hace | 0

Respondida
Time Delay of Arrival
# record the data. # read the data into MATLAB # do a cross correlation between two channels and translate the lag to time ...

alrededor de 14 años hace | 0

Respondida
how to take modulus?
abs(a)^2 or norm(a)

alrededor de 14 años hace | 0

| aceptada

Respondida
"Levelling" out a signal with moving average
Maybe you want to try |detrend|? doc detrend

alrededor de 14 años hace | 0

Respondida
Why is vertcat slowing things down?
My 2 cents:: 1. You may want to preallocate the memory. The in each iteration, you just put the new data into corresponding s...

alrededor de 14 años hace | 1

| aceptada

Respondida
show same text on 2 lines without getting an error
Put ... at the end of the first line, something like a = 3 * ... 4;

alrededor de 14 años hace | 0

| aceptada

Respondida
Delay using FFT
I don't see anything obviously wrong in your code. I think the difference in the amplitude may just due to the fact that after t...

alrededor de 14 años hace | 0

| aceptada

Respondida
plot the following functions using axes that will produce a stright line
I don't quite understand what you mean by using axes. But if you use loglog(x,y) for the first function and semilo...

alrededor de 14 años hace | 0

Respondida
Truncating Decimal Places
round(pi)

alrededor de 14 años hace | 2

Resuelto


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

alrededor de 14 años hace

Resuelto


Tell me the slope
Tell me the slope, given a vector with horizontal run first and vertical rise next. Example input: x = [10 2];

alrededor de 14 años hace

Cargar más