Question

I am importing Facebook messages from JSON, but getting weird symbols instead of standard quotations and such?

Hello, I am trying to import my chat history to do some analysis on it. However my messages are turning weird, for instance, an...

5 månader ago | 1 answer | 0

Question

How do I stabilize a video on a single feature in video

I have a video I am trying to stabilize, based on a single feature only - i.e. I have multiple people walking in and out of the ...

5 månader ago | 1 answer | 0

Question

How to run a script using Windows Task Scheduler WITHOUT opening new instance of MATLAB?

So I've used Windows Task Scheduler to run MATLAB scripts before, so I am well aware of this. The problem now is that my compu...

8 månader ago | 0 answers | 0

Question

Trying to make a PUT request using webwrite - "Unsupported Media Type"??

Hello everyone, So I am working withe Yahoo Fantasy API, and can freely make API GET requests, using the following weboptions: ...

8 månader ago | 0 answers | 0

Question

How to calculate the total heat flow on a surface using MATLAB PDE solver?

I have a 3D PDE I am solving for. I am setting dirichlet boundaries, and need to calculate total heat flow on the full surface o...

10 månader ago | 1 answer | 0

Question

I have X-Y-Z and time data of a particle. Can I create a plot that will show the position of this particle over time? (i.e. a movie)

As title says, I have X-Y-Z and time data for a particle that we tracked. I am curious if anyone knows of a method to conver...

ungefär ett år ago | 0 answers | 0

Question

Quiver plot arrows hidden by surface plot?

Hello all, I am creating a surface plot, and plotting on top of this a quiver plot. Everything works great, however where I hav...

mer än ett år ago | 2 answers | 0

Question

Is it possible to create imdistance line on a mouse click and trace the line as seen with the distance tool in imtool?

So, I have an image, I would like to be able to trace a line (snap from point to point) like how is down with imtool and the dis...

mer än ett år ago | 1 answer | 0

Answered

I am plotting random circles using the plot function on a white background, how to convert this plot to a binary matrix?

Hey everyone, I got around this by using imageOut = insertShape(img,'FilledCircle',M,'Color','black','Opacity',1); where img ...

I am plotting random circles using the plot function on a white background, how to convert this plot to a binary matrix?

Hey everyone, I got around this by using imageOut = insertShape(img,'FilledCircle',M,'Color','black','Opacity',1); where img ...

mer än ett år ago | 1

| accepted

Question

I am plotting random circles using the plot function on a white background, how to convert this plot to a binary matrix?

So I am trying to simulate some random circles on an image. I am creating a white background of the appropriate resolution by...

mer än ett år ago | 2 answers | 0

Question

How do I organize(format) multiple text boxes and charts to an output figure?? Basically create a customized report as the output??

Hello, So I have a program that is going to generate a bunch and numbers and graphs for me. Instead of having the format all t...

mer än ett år ago | 0 answers | 0

Question

How do I call on a function created outside of the App Editor?

Not sure if I am describing my problem correctly, but what I would like to do is call on a script/function I have created when a...

nästan 2 år ago | 2 answers | 0

Question

How to update structure and delete entries from structure?

Hello, I have searched the forums and have not found a work around for my issue. I am using regionprops that is analyzing ...

nästan 2 år ago | 1 answer | 0

Question

How do I define the boundary condition between two conducting materials to solve a PDE?

Hello, As the question describes, I'm looking to solve an electrostatics PDE, where I have two different conducting materials...

ungefär 2 år ago | 0 answers | 0

Question

When solving a PDE, how to assign different conductivity values to different volume regions?

Hi, I am trying to solve an electrostatic PDE, where the electrical conductivity changes within the volume of the solution. ...

mer än 2 år ago | 1 answer | 0

Question

Taking gradient of solution and plotting results in very weird and unsmooth graphs?

Hello, So I am interpolating a PDE solution to a meshgrid, and then taking the gradient of this. When I plot the resulting...

mer än 2 år ago | 1 answer | 0

Question

Can I program the selection of faces for PDE modelling of a 3D object?

I am doing PDE analysis on a 3D object. However, I need to alter the geometry to test different configurations of my object. Doi...

mer än 2 år ago | 1 answer | 0

Question

How to extract slice of 3D PDE solution into a matrix? Works with slice to plot, but want the actual date

Hello all, I have a 3D PDE solution. I want to extract a slice of this solution into a matrix to do further analysis (I wa...

mer än 2 år ago | 1 answer | 0

Question

How do I calculate the heat flow at a Dirichlet boundary surface, given a set temperature gradient?

So I am dealing with potential and current flows, but the thermal analogy will work here. Basically I have a set geometry (a ...

mer än 2 år ago | 0 answers | 0

Question

How to control the location of an .stl from importGeometry, i.e. set midpoint to z = 0?

Hello, As the title says, I am importing an .stl file to do analysis in the PDE toolbox. Everything works fine, however, i...

mer än 2 år ago | 0 answers | 0

Answered

Calculating gradient of a matrix - too many outputs... Not sure why?

I can't believe I didn't notice this, But the error stems from the negative sign I had in front of the gradient function. ...

Calculating gradient of a matrix - too many outputs... Not sure why?

I can't believe I didn't notice this, But the error stems from the negative sign I had in front of the gradient function. ...

mer än 2 år ago | 0

| accepted

Question

Calculating gradient of a matrix - too many outputs... Not sure why?

Hello, I have calculated a result matrix using the integrating function on matlab, however when I try to calculate the gradie...

mer än 2 år ago | 1 answer | 0

Question

How to queue a list of videos for analysis?

Hello, I have a program written that does certain analysis on a video. However, I need to perform this analysis on many video...

nästan 3 år ago | 1 answer | 0

Question

Applying xcorr2 to match two subsequent images. Do I need normxcorr2, do I need to substract mean values?

Sorry for the title gore, but basically I am tracking the downward vertical flow of some bubbles. I have two images, the first a...

nästan 3 år ago | 0 answers | 0

Question

How do I update a struct array in a for loop?

I am determining the equivalent diameter of circles in a series of images. My code is as follows: for k = 1:20 I ...

nästan 3 år ago | 1 answer | 0

Question

Is it possible to do a 2d cross correlation (xcorr2) in only one direction?

I am trying to calculate the distance a froth has moved between two consecutive frames, but I'm only interested in the vertical ...

ungefär 3 år ago | 1 answer | 0

Question

I need to find the distance between a background image and an overflowing foam

<</matlabcentral/answers/uploaded_files/81620/IMG_5148.JPG>> I've attached the background image, a foam will flow over the li...

ungefär 3 år ago | 0 answers | 0

Answered

I am plotting the moving median of the result of a for loop, but it is plotting multiple lines?

Figured it out, Just needed to plot the value of median i.e. plot(i,median(i),'or')

I am plotting the moving median of the result of a for loop, but it is plotting multiple lines?

Figured it out, Just needed to plot the value of median i.e. plot(i,median(i),'or')

ungefär 3 år ago | 0

| accepted

Question

I am plotting the moving median of the result of a for loop, but it is plotting multiple lines?

My code goes something like this hold on For i = 1:end; result(i)= calc; median = movmedian(result,10); plot...

ungefär 3 år ago | 2 answers | 0