Community Profile

photo

Sara Ismail-Sutton


Last seen: 5 meses ago Active since 2020

Statistics

  • Thankful Level 1

View badges

Content Feed

View by

Question


for loop label/arguement
Need to iterate over the bifurcation map n_trans time (n_trans specified above), this is the relevant bit of the code for my que...

6 meses ago | 1 answer | 0

1

answer

Question


error at for loop end (courseera course ref. solution- fixed points Lorentz equations)
r=28; sigma=10; b=8/3; RelTol=1.e-06; AbsTol=1.e-09; for nroot=1:3 if nroot==1, x=1; y=1; z=1; end if nroot==2, x...

7 meses ago | 1 answer | 0

1

answer

Question


for loop reference solution (from coursera) question
Sorry if this is a stupid question, but I am pretty new to matlab, looking at this solution at the loop "for n=1:nint@" I can't ...

8 meses ago | 1 answer | 0

1

answer

Question


if statement find criteria not doing what I want it to do
if k does not contain 1 matlab returns ' 1×0 empty double row vector ' so i dont understand why this is not working in my if ...

11 meses ago | 2 answers | 0

2

answers

Question


finding value of matrix in an if statement
e issue is with line 18 of the code below. I tested it with the vector C =[1 2 3 4 4 3 2 1], and us...

11 meses ago | 1 answer | 0

1

answer

Question


if statement/numel (A)
I am confused why the if statement below is not working, I am getting the error message "Array indices must be positive integers...

11 meses ago | 1 answer | 0

1

answer

Question


second maximum- not returning index
Used the following code: function [i,y] = second_max( x ) [a,b]=max(x) [i,y] = max(x(x==a)) end e.g I test this with v...

11 meses ago | 1 answer | 0

1

answer

Question


coursera MATLAB course, blur image assignment
My code is as below, but I am getting the error message The server timed out while running and assessing your solution. Use ...

12 meses ago | 1 answer | 0

1

answer

Question


I cannot pass one of the final MATLAB problems on the coursera MATLAB course. What is wrong with my code? Why won't it work for the 'echo generator assignment?
The task is to given an input column vector (with values between -1 and 1 representing the digitized data), fs the sampling rate...

alrededor de 1 año ago | 0 answers | 0

0

answers

Answered
echo generator function assignment
bump ! any help really appreciated :)

alrededor de 1 año ago | 0

Question


echo generator function assignment
The task is to given an input column vector (with values between -1 and 1 representing the digitized data), fs the sampling rate...

alrededor de 1 año ago | 1 answer | 0

1

answer

Question


Function to count the number of characters in a text file
Hi I've wrote the following code so far, but I'm having the problem that sum(charnums) returns the latest given value of charn...

alrededor de 1 año ago | 1 answer | 0

1

answer

Question


How to search for an exact string not just contains
Hiyah I'm searching a cell array for an exact string, e.g the data I am searching contains both 'Las Vegas, NV' and 'North La...

alrededor de 1 año ago | 2 answers | 0

2

answers

Question


coordinates of a point from a matrix
I've searched through old threads but the common answer - below- is not working for me, thanks I have a matrix X which is al...

alrededor de 1 año ago | 1 answer | 0

1

answer

Question


is not prime number command , function to find the nearest prime number
This is the code I have written : function[k]=next_prime(n) k=n while ( k~=isprime(k)) k=k+1 if k~isprime(k) ...

alrededor de 1 año ago | 2 answers | 0

2

answers