Community Profile

photo

Sara Ismail-Sutton


Last seen: 17 days ago
12 total contributions since 2020

Sara Ismail-Sutton's Badges

  • Thankful Level 1

View details...

Contributions in
View by

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

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

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

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

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

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

4 months ago | 0 answers | 0

0

answers

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

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

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

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

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

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

6 months ago | 2 answers | 0

2

answers