답변 있음
find the equal values that stand together on the same row or column or diagonal in the matrix
I am assuming here that to satisfy your criteria you must have a group of 5 or more ones in any row, column or diagonal or a gro...

대략 4년 전 | 1

답변 있음
Why does my closed loop pole-zero map appear to indicate a critically damped system but a step input results in an under-damped response?
If you remove the time delay the response has no oscillations as you expected. I know you said "**Just as a side note, taking a...

대략 4년 전 | 0

| 수락됨

답변 있음
Why does a sine bandwidth decrease with 1/dur, dur beeing the signal duration
I don't have enough time at the moment to look at your code in depth, but I'm suspecting that you are experiencing "leakage" eff...

대략 4년 전 | 0

답변 있음
Comparing curves to an original signal
In terms of frequency response of a transfer function it looks like you could make the orange curve move towards the purple cur...

대략 4년 전 | 0

| 수락됨

답변 있음
How to randomise trials without following in successive ones
OK, I think I finally got it. Thanks for your patience. If I am understanding correctly I think this code should do what you ar...

대략 4년 전 | 0

| 수락됨

답변 있음
polynomial interpoltaion & least squares
I'm not totally clear on what you are trying to do from your description, but here are few things that I think will help you. Y...

대략 4년 전 | 0

답변 있음
Find unique values in a pseudo inverse based on SVD
I think that you can identify the "non-unique" components in your specific example, by looking at the last two columns of V (or ...

대략 4년 전 | 0

답변 있음
if statement is not working
The problem is that your if statement will only be true if all of the elements of theta satisfy the condition. If you only want...

대략 4년 전 | 2

| 수락됨

답변 있음
Merge columns in two tables depending on column names
I think you can probably accomplish what you want using one or more of MATLAB's join, innerjoin, and outerjoin commands. Please...

대략 4년 전 | 0

| 수락됨

답변 있음
i am trying to write a program to find the day of any date.
I think MATLAB's weekday function should do this for you, type doc weekday on the command line for details

대략 4년 전 | 0

| 수락됨

답변 있음
ODE solvers and code
Just edit the functions, so type on the command line for example: edit ode45

대략 4년 전 | 0

답변 있음
How to create a Stereo Sweep from Frequency A to B in a given time?
As an alternative, if you don't have the signal processing toolbox, or for some reason preferred to see the details you could do...

대략 4년 전 | 2

답변 있음
Identifying the first number in a series in the same vector?
define your vector as x then y = unique(floor(x)) floor gets rid of the decimal part, unique gets rid of the repetitions

대략 4년 전 | 0

| 수락됨

답변 있음
Different legends for multiple graphs
There might be more elegant ways of generating the legends but one approach would be to define before the loop a cell array of l...

대략 4년 전 | 0

| 수락됨

답변 있음
Warning: Imaginary parts of complex X and/or Y arguments ignored.
Haven't tried your code, but most likely one or more of h1, h2, or h3 are negative and when you take the square root of them it...

대략 4년 전 | 0

| 수락됨

답변 있음
Unable to perform assignment because the indices on the left side are not compatible with the size of the right side
Following up on @Walter Roberson's comment, I ran your code (I assigned my own values to data, as I didn't have your input file...

대략 4년 전 | 1

| 수락됨

답변 있음
how to find the value of the diagnol of the attached image
From your matlab.mat file it seems that you are showing the image represented by the matrix corr_data. You can get the diagonal...

대략 4년 전 | 0

답변 있음
Add data from one input file to another
I think you should be able to get the sets of data that you want using MATLAB's ismember and intersect Is that what you are ask...

대략 4년 전 | 0

답변 있음
How to solve for x give the equation of a circle and the equation of a line?
You can use MATLAB's fsolve to solve the original system of two equations and two unknowns. To do this you have to rearrange the...

대략 4년 전 | 0

답변 있음
How and what is the time period of following function
I think you are looking for a characteristic time duration for your circuit. One common criteria is the settling time following ...

대략 4년 전 | 0

답변 있음
How do I make Matlab not show large values in scientific notation?
I think typing this command on the command line may get you what you want format shortG

대략 4년 전 | 0

| 수락됨

답변 있음
interpolate data in timeseries
Although you say you have a "time series" it looks like v is just an ordinary vector. Assuming you have another "t" vector to go...

대략 4년 전 | 0

답변 있음
How to get the equation inside that of root(function,z) equation ,i.e the function only
This is a polynomial, you should be able to obtain all of the roots (real and complex) using: r = roots([1.0 ... -(190266...

대략 4년 전 | 0

답변 있음
I have to combine 90 txt files in one txt file
If you don't want to create a huge matrix before writing it out you could do this % define some parameters outfile = 'alldata....

대략 4년 전 | 1

| 수락됨

답변 있음
I am trying to write data to a file where the first column is the time values and the second column is the volts values.
I think the problem is tha fprintf writes the elements columnwise. You could send the transpose (use the ' operator) fprintf(fi...

대략 4년 전 | 0

| 수락됨

답변 있음
create a graph with a specific interval
If you want n to have integer values greater than zero and strictly less than 35 you can define n = 0:34 If you don't require ...

대략 4년 전 | 1

답변 있음
why do I suddenly get a gain value in my transfer function?
Your original expression and the one found by zpk are the same. zpk just factored out the 2 from denominator.

대략 4년 전 | 1

| 수락됨

답변 있음
How to solve for N sets of 2 equations and 2 unknowns using a for loop?
This is one approach using nested functions to pass additional paramaters, see https://www.mathworks.com/help/optim/ug/passing-e...

대략 4년 전 | 0

| 수락됨

답변 있음
Convert from linear to log scale and back again
I think you can get what you want using MATLAB's semilogx function

대략 4년 전 | 0

더 보기