Community Profile

photo

Westin Messer


29 total contributions since 2016

Westin Messer's Badges

  • Thankful Level 3
  • Solver

View details...

Contributions in
View by

Question


Can someone explain why no plot is showing up?
Hello, I wrote this matlab script where I am trying to plot the time 't' vs. the variable 'c' but for some reason no line is sh...

2 years ago | 2 answers | 0

2

answers

Question


How to check a value in a loop at a certain instance?
I want to know what the value of u and v are when t = 7. Does anyone know how I'd do that? close all; clear all; a = 0; b = ...

2 years ago | 1 answer | 0

1

answer

Question


Why are values in my loop filled with NaN?
Hello, Can anyone tell why 'u' and 'v' inside my loop are all being filled with NaN? I cant figure out what I'm doing wrong. T...

2 years ago | 1 answer | 0

1

answer

Question


How to solve a partial derivative equation in MATLAB?
Hello, orgininally I solved this set of differential equations using Euler's method: they were solved with this: for i=1:1:5...

2 years ago | 1 answer | 0

1

answer

Question


How to correctly change a variable from a single number to an array.
Hello, I oringinally wrote this matlab code to model the FitzHugh-Nagumo action potential. Now I'm trying to modify the model to...

2 years ago | 1 answer | 0

1

answer

Question


Why is my data is incorrect after looping?
Hello I'm working on this code that solves a set of differential equations and plots the solution and I'm varying the parameter...

2 years ago | 1 answer | 0

1

answer

Question


How to plot for a matrix?
Hello, in this code I am varying the parameter k from 1 to 4 and I get four different sets of numbers for u and v. I want to plo...

2 years ago | 1 answer | 0

1

answer

Question


How to have multiple lines on a graph for different values of a parameter.
Hello, I'm trying to vary the parameter 'k' from 0 to 4 in this code. However, there is an error because the blue lines in th...

2 years ago | 1 answer | 0

1

answer

Question


How to run a loop for multiple variations of a variable.
Hello, I'm new to MATLAB and coding and I'm trying to vary the parameter 'p' from 0 to 3 in incriminates of 1 inside the loop wh...

2 years ago | 1 answer | 0

1

answer

Question


How to replace ode45 with Eulers method?
This code currently works perfectly but I'm being asked to solve the differential equation using Euler's method instead of ode45...

2 years ago | 3 answers | 0

3

answers

Question


Lots of errors but code still runs fine?
Hello, I'm fairly new to Matlab and I wrote this scrip so solve a homework problem of mine. However when I run it I get a lot...

2 years ago | 1 answer | 0

1

answer

Question


How to pick out the details of a specific line in an iterative graph?
Hello, I wrote this code to plot different paths of a projectile when shot of at the same initial velocity but different angl...

2 years ago | 1 answer | 0

1

answer

Question


How to extract a specific value from a loop.
Hello I wrote this code to model a simple projectile motion problem. What I would like to do now is output the value for x af...

2 years ago | 2 answers | 0

2

answers

Question


Help understanding the algorithms used in this code.
Hello! I came across this volumetric imaging code and I'm trying to better understand how the algorithms work. Could someone hel...

2 years ago | 1 answer | 0

1

answer

Question


Image Segmentation and Classification
I have recently been tasked to a project which primarily deals with image segmentation. I am supposed to read in an MR brain ima...

2 years ago | 1 answer | 0

1

answer

Question


Error with part of code for MRI enhancement.
Hello, I have code for an MRI enhancement that I know has been verified and works. However when I try and run it I get an er...

2 years ago | 2 answers | 0

2

answers

Question


Error when using ODE45
Hello I'm trying to write a code to solve a system of differential equations. One of the given conditions is F(0) = f(t). Ho...

2 years ago | 1 answer | 0

1

answer

Question


Can someone break down this code and tell me what it does so I can better understand it?
So far I know the following: This code first asked the user to choose an image file of choice. The rgb2gray command converts...

2 years ago | 1 answer | 0

1

answer

Question


How do I solve a second order ODE with boundary conditions?
I'm trying to solve the following differential equation: y''+y'-6y=20e^t, y(0)=0, y'(0)=1

2 years ago | 1 answer | 0

1

answer

Question


How to find landmarks of a rotated image?
I have an image that I placed five landmarks on and I rotated that image 30 degrees. How do I now find those five landmarks and ...

2 years ago | 1 answer | 0

1

answer

Question


How to do a 2D convolution result with the log operator for an Image.
Hi, I want to apply an LOG enhancement mask for image enhancement using conv2. The LOG enhancement mask to be convolved with the...

2 years ago | 1 answer | 0

1

answer

0

answers

Solved


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

3 years ago

Solved


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

3 years ago

Solved


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

3 years ago

Question


Error when running this code.
Can anyone explain why I'm getting this error when I run this code. assignment3_2 Undefined function or variable 'loren...

4 years ago | 0 answers | 0

0

answers

Question


Animation of the Lorenz Attractor
Hi everybody, I'm supposed to modify this code so there's a single dot tracing the plot. I think I'm pretty close I just can...

4 years ago | 1 answer | 0

1

answer

Question


Animation of the Lorenz Attractor
Hi everybody, I'm supposed to modify this code in MATLAB to do something similar to this <https://www.youtube.com/watch?v=0W...

4 years ago | 0 answers | 0

0

answers

Question


How to get rid of the error An array for multiple LHS assignment cannot contain LEX_TS_STRING
New to programing in matlab. I am currently trying to make a MATLAB program that will find the critical values of a multi-variab...

4 years ago | 1 answer | 0

1

answer