Community Profile # Joseph Wilson

Last seen: mer än ett år ago Active since 2019

#### Statistics

All
• • • • #### Content Feed

View by

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

mer än ett år ago | 0

| accepted

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

nästan 2 år ago | 0

| accepted

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

nästan 2 år ago | 0

| accepted

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

nästan 2 år ago | 0

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

nästan 2 år ago | 0

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

nästan 2 år ago | 0

| accepted

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

nästan 2 år 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 ...

ungefär 3 år ago | 1 download | 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...

ungefär 3 år ago