Community Profile

photo

Westin Messer


Actif depuis 2016

Statistiques

All
  • Thankful Level 4
  • Solver

Afficher les badges

Content Feed

Afficher par

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...

plus de 5 ans il y a | 2 réponses | 0

2

réponses

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 = ...

plus de 5 ans il y a | 1 réponse | 0

1

réponse

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...

plus de 5 ans il y a | 1 réponse | 0

1

réponse

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...

plus de 5 ans il y a | 1 réponse | 0

1

réponse

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...

plus de 5 ans il y a | 1 réponse | 0

1

réponse

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...

plus de 5 ans il y a | 1 réponse | 0

1

réponse

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...

plus de 5 ans il y a | 1 réponse | 0

1

réponse

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...

plus de 5 ans il y a | 1 réponse | 0

1

réponse

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...

plus de 5 ans il y a | 1 réponse | 0

1

réponse

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...

plus de 5 ans il y a | 3 réponses | 0

3

réponses

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...

plus de 5 ans il y a | 1 réponse | 0

1

réponse

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...

plus de 5 ans il y a | 1 réponse | 0

1

réponse

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...

plus de 5 ans il y a | 2 réponses | 0

2

réponses

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...

presque 6 ans il y a | 1 réponse | 0

1

réponse

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...

environ 6 ans il y a | 1 réponse | 0

1

réponse

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...

environ 6 ans il y a | 2 réponses | 0

2

réponses

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...

environ 6 ans il y a | 1 réponse | 0

1

réponse

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...

environ 6 ans il y a | 1 réponse | 0

1

réponse

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

environ 6 ans il y a | 1 réponse | 0

1

réponse

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 ...

environ 6 ans il y a | 1 réponse | 0

1

réponse

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...

environ 6 ans il y a | 1 réponse | 0

1

réponse

Question


When I run this code "FDx = Empty sys: 0 by 1" and FDy says the same thing. I think it because there is a Z component to M. I found that when the Z component is zero it gives a number for FDx and FDy. Does anyone know how to fix this?
R_AR = [0,7,5] R_AB = [0,0,12] F = [6,9,-1] digits(4) syms FDx FDy FDz; M = vpa(cross(R_AB,[FDx, FDy, FDz])...

plus de 6 ans il y a | 1 réponse | 0

0

réponse

A résolu


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 ...

environ 7 ans il y a

A résolu


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...

environ 7 ans il y a

A résolu


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:...

environ 7 ans il y a

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...

plus de 7 ans il y a | 1 réponse | 0

0

réponse

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...

plus de 7 ans il y a | 1 réponse | 0

1

réponse

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...

plus de 7 ans il y a | 1 réponse | 0

0

réponse

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...

plus de 7 ans il y a | 1 réponse | 0

1

réponse