photo

matlabkid602


Last seen: 3 years 前 自 2017 起处于活动状态

Followers: 0   Following: 0

统计学

  • Thankful Level 3

查看徽章

Feeds

排序方式:

提问


Obtaining vertical and horizontal values from polarplot
I have data theta and rho data which produces a polar plot via the polarplot function. I want to obtain the values for ev...

3 years 前 | 1 个回答 | 0

1

个回答

提问


Integrating second order differential equation BVP error
I get the error "Warning: Explicit solution could not be found." when trying to integrate this BVP. I've attached a picture o...

6 years 前 | 1 个回答 | 0

1

个回答

提问


Custom Uniform Random Distribution
Say I have a uniform random distribution in matlab using the rand() function. How can I change the distribution for a given f...

7 years 前 | 2 个回答 | 0

2

个回答

提问


Rejection sampling on uniform distribution?
How can I use matlab to perform rejection sampling on a uniform distribution using rand, to pick 20% of samples in the range 0 t...

7 years 前 | 1 个回答 | 0

1

个回答

提问


Include "star dot" in plot legend.
I'm plotting three sets of data with the code if true plot(x_1,y_1,x_2,y_2,x_3,y_3) %Layered plot xlabel('X')...

7 years 前 | 1 个回答 | 0

1

个回答

提问


Does matlab have a built in function to calculate the bunching factor?
I'm trying to calculate the bunching parameter from an ODE I have solved numerically.

7 years 前 | 0 个回答 | 0

0

个回答

提问


Indexing problems using for loop and if statements
I'm trying to solve a large system of ODE's using ode45. I need to assign y(*negative number) = 0 in the function. This is impos...

7 years 前 | 1 个回答 | 0

1

个回答

提问


Setting variable to zero with conditional statement?
I'm writing a for loop which runs through values and sometimes the element that the loop selects is outwith the vector length. ...

7 years 前 | 1 个回答 | 0

1

个回答

提问


Running two loops at once
Hi. I have a problem where I need to run two index parameters at one time. For example, I need p to go from 1:21, but I al...

7 years 前 | 0 个回答 | 0

0

个回答

提问


Saving Table In For Loop?
How can I save a table in a for loop with corresponding file name? I want to save it like how I am saving my figures, savefig...

7 years 前 | 1 个回答 | 0

1

个回答

提问


Creating a coordinate basis with equally spaced points?
Hi. I am trying to create a coordinate basis that has dimensions in x and y axis from 0 to 30. I am looking for a piece of co...

7 years 前 | 1 个回答 | 0

1

个回答

提问


How do I pass a variable into a function without defining it as global or in the arguement?
Hi, I'm writing a bit of code that will perform a nlinfit nine times. The code uses a function which is called each time I want ...

7 years 前 | 2 个回答 | 0

2

个回答

提问


How to create a gridded matrix with N equally spaced points?
I am trying to create a coordinate grid with equally spaced rows of N data points in the format of X and Y values. How can I ...

7 years 前 | 1 个回答 | 0

1

个回答

提问


How do I recombine matrices in this order?
I have nine matrices with equal dimensions of 40x10, how do I recombine them in the way shown in my png? Thank you

7 years 前 | 1 个回答 | 0

1

个回答

提问


Is there a way to get a completion measurement for a long nlinfit calculation?
I am running a simulation that can take multiple hours or even days. How do I create a status indicator for my calculation? I...

7 years 前 | 1 个回答 | 0

1

个回答

提问


How do I constrain a vector's value within a nonlinear fit?
I am fitting a set of data using nlinfit as magnetic dipoles and I want my fitted parameters to be only positive. How do I ma...

7 years 前 | 1 个回答 | 0

1

个回答

提问


How do I insert a variable into a graph title?
Hi, I'm writing a piece of code where I want to input arguements then plot. The length of the vector that I input changes the ti...

7 years 前 | 1 个回答 | 0

1

个回答

提问


How can I split a matrix into N different parts?
I have a 120x30 matrix of data points, how can I split the matrix into nine equal parts of 400 data chunks and store them as sep...

7 years 前 | 3 个回答 | 1

3

个回答

提问


When using parallel computing toolbox can I just replace all my "for" loops with "parfor" ?
I'm running an intensive calculation and want to minimise my computation time.

7 years 前 | 1 个回答 | 0

1

个回答

提问


How do I quiver plot magnetic field
I have the following code that will calculate the magnetic field from a stationary dipole in three dimensions: function B = B...

7 years 前 | 1 个回答 | 0

1

个回答

提问


How do I add multiple values stored in a matrix?
Hello all. I have a grid of data points that range from 1:30 on the x axis in steps of 1, and .25:30 on the y axis in steps o...

7 years 前 | 1 个回答 | 0

1

个回答