Question

How to Remove Black From Background of Cropped Image

Hello-- This is not important to the analysis of the picture I am doing, but more for a visual aspect. I was wondering if you...

1 month ago | 1 answer | 0

Question

Cutting off a segment of an Image that is blurry

Hello-- Basically I wanted to perform image analysis on a a hai r switch and I was able to seperate the image from the backgro...

1 month ago | 1 answer | 0

Answered

Binarization to Crop Image

Yes, lightness and RGB values. I can try changing the tabletop to blue and making sure the tape is more matte to block the exces...

Binarization to Crop Image

Yes, lightness and RGB values. I can try changing the tabletop to blue and making sure the tape is more matte to block the exces...

1 month ago | 0

Question

Binarization to Crop Image

In my code I use binarization to crop my region of interest from a photograph to observe lightness values as shown bellow: Th...

1 month ago | 2 answers | 0

Question

How to Seperate Region of Interest into 3 Segments

Hello-- In my code I use binarization to crop my region of interest from a photograph to observe lightness values as shown be...

1 month ago | 2 answers | 0

Question

Error: Unable to resolve the name workbooks.Open.

Hello-- I'm trying to make a copy of an excel file (based on a template) and place the new file in a different folder. I was ...

1 month ago | 1 answer | 0

Question

How to Remove Black Background from Photo (Only Keep Region of Interest)

Here is my image: My code so far only gets me my desired region but I wish to take out all the black parts so that I can do p...

2 months ago | 0 answers | 0

Question

How to Threshold Crop an Image for analysis

Basically all I want to do is perform a lighting analysis on the hair itself in the border i set for it (blue tape). Is there a ...

2 months ago | 1 answer | 0

Question

Solve equations of Motion using Matlab ODE45

Solve the following set of equations of motion using Matlab ODE45: (m +m )x+m Lcos−m L2 sin+kx=01222 L + x cos + g sin ...

4 months ago | 1 answer | 0

Question

Index exceeds the number of array elements (0).

clc clear all close all myDir = 'C:\Users\bpeoples\Downloads\SCANSNAPCODE_BDP\Numerical Comparison\Diffused Above, SV600 Ra...

1 year ago | 1 answer | 0

Answered

Removing Excess White from Binary Image

This image is not binary by the way, but i would use bwareaopen(BW,250) to do it

Removing Excess White from Binary Image

This image is not binary by the way, but i would use bwareaopen(BW,250) to do it

1 year ago | 0

Question

Removing Excess White from Binary Image

Hello-- So I have a binary image and I only want to remove white from specified areas, such as the corners. (These areas being...

1 year ago | 2 answers | 0

Question

Plotting A Matrix Using Surfc

Hello-- I am struggling an recieivng an error when I try to plot a matrix using surfc (in a function). I was wondering if any...

1 year ago | 1 answer | 0

Question

How to numerically integrate a non-integer (using trapz)

In this case im trying to get F(i) with the given inputs: kp = -25 ki = 10 theta(i) = .314 or something thats not an integer ...

1 year ago | 1 answer | 0

Question

How to change the value of a vector through sub functions

Hello- pretend: prisoner = 1:2 outcomes = [] bias = .25 choice = zeros(1,2) These are sub functions and I want to only cha...

1 year ago | 0 answers | 0

Question

Don't know how to fix... Index in position 1 exceeds array bounds (must not exceed 1)

Hello-- I keep getting this error and i've tried to fix it for so long. it is occuring on lines between the lines specified bel...

1 year ago | 1 answer | 0

Question

Don't know how to fix... Index in position 1 exceeds array bounds (must not exceed 1).

Hello-- I keep getting this error and i've tried to fix it for so long. it is occuring on lines between the lines specified bel...

1 year ago | 1 answer | 0

Question

How to create a random number that is a percent of each element in a vector

Hello-- I was wondering if anybody could solve this simple roulette indexing/random number question i've been struggling with f...

1 year ago | 1 answer | 0

Question

How to reference each element of a column vector in an if statement

I need to get AmountWon to reflect each element in the column vector spin. Everytime this runs I get AmountWon = 250000 because ...

1 year ago | 1 answer | 0

Question

Can I make a functions input a counter variable for a for loop

So I have to make an input (SlotRounds) be used in a forloop within my function. The problem is at the same time i'm supposed to...

1 year ago | 1 answer | 0

Question

While Loop Running forever (Draining Cylinder Question)

Hey, I'm stuck figuring out how to run the loop until h is just barely above 0. so I want to run the loop while h>0, but it is a...

1 year ago | 1 answer | 0

Question

How to solve for dh in draining of a cylinder??

DRAINING OF A CYLINDER QUESTION So I was able to perform the while loop, but I am struggling on making a vector dh to watch the...

1 year ago | 0 answers | 0

Question

Function With While Loop Help

Hello-- So I need to calculate time, flow rate, height, and velocity of water exiting a cylindrical container until the cont...

1 year ago | 2 answers | 0

Question

While Loop Question (Ungraded)

F = [1,1] evensum = zeros(1,4000000); while F < 4000000 if F == 1 evensum(1,F) = F; else evensu...

1 year ago | 1 answer | 0

Question

I keep getting the error index exceeds the number of array elements(1)

roll = zeros(1,300); for i = 1:300 dice = 1 + ceil(11*rand(1)); end freeornah = roll+dice(i) freeornah = roll+dice(...

1 year ago | 2 answers | 0