Community Profile

photo

Quoc Khang Doan


Last seen: 1 month ago Active since 2019

Statistics

  • Thankful Level 1

View badges

Content Feed

View by

Question


Removing row of a nx3 matrix if at any row the 3rd column is 0
I tried doing this using a for loop and come to realise it is impossible to, can anyone tell me a way to remove a row of a matri...

6 months ago | 1 answer | 0

1

answer

Question


repeat while loop with new boundary for x
function [r] = myroots(x,y,tol) a = x(1); b = x(end); fprintf('Starting interval is from %f to %f \n', a, b) error = b - a...

8 months ago | 1 answer | 0

1

answer

Question


any suggestion to store answer after for loop into a matrix to use later?
this is what i have so far, it only store the answer of the last entry of x (N) into matrix b, which was supposed to have all th...

8 months ago | 1 answer | 0

1

answer

Question


do anyone know how to put all iteration of a for loop into a matrix?
as the title said, this is what i have: clear all clc a=0; b=8; n=2; run=input('Input your number of iteration:'); i=(1:...

2 years ago | 1 answer | 0

1

answer