Community Profile # Joseph Wilson

##### Last seen: 1 month ago
9 total contributions since 2019

#### Joseph Wilson's Badges

View details...

Contributions in
View by

Answered
How to iterate an equation to solve for missing variable
So there are a couple problems here: 1) the for loop can't start at zero so change to for i = 1:length(theta) solves that 2) ...

2 months ago | 0

| accepted

Answered
How to randomly change a digit in a string
string1 = '00101'; digit_change = randi(length(string1)); digit_val = str2num(string1(digit_change)); digit_new = num2str(~di...

4 months ago | 0

| accepted

Answered
Invalid use of operator in for loop
theta0 = tand(v0y/v0x) while theta0 > 90 || theta0 < 0 % where the '>' gives an error message end Changin...

4 months ago | 0

| accepted

Answered
MATLAB interrupting the algorithm by timer
clear;clc timerval = tic; while 1 endval = toc(timerval); if endval>=3 break end end %t...

4 months ago | 0

Answered
why wont text scan read all rows?
fileID = fopen('car_data.txt'); fmt=[repmat('%q',1,8) '%s %*[^\n]']; %have to have %*[^\n] to ignore the rest of that row which...

4 months ago | 0

Answered
Repeat input prompts until conditions are met or until prompts asked 3 times
%%%No matter what, your issue of " it simply takes the values given even if they are wrong." is going to occur since MATLAB is %...

4 months ago | 0

| accepted

Answered
Help with my matlab function.
type_of_metal_BD = questdlg('prompt question i.e. Type of metal for BD?','Title of prompt','bronze', 'aluminum', 'steel','steel'...

4 months ago | 0

Submitted

Making a new .txt or .xlsx file automatically
This function auto generates a new file for data collection to prevent the overwriting of data without the need for manual file ...

2 years ago | 2 downloads | Solved

Number of Even Elements in Fibonacci Sequence
Find how many even Fibonacci numbers are available in the first d numbers. Consider the following first 14 numbers 1 1 2...

2 years ago