Sara Ismail-Sutton
Followers: 0 Following: 0
Feeds
提问
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...
3 years 前 | 1 个回答 | 0
1
个回答提问
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...
3 years 前 | 1 个回答 | 0
1
个回答提问
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 ...
3 years 前 | 1 个回答 | 0
1
个回答提问
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 ...
4 years 前 | 2 个回答 | 0
2
个回答提问
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...
4 years 前 | 1 个回答 | 0
1
个回答提问
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...
4 years 前 | 1 个回答 | 0
1
个回答提问
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...
4 years 前 | 1 个回答 | 0
1
个回答提问
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 ...
4 years 前 | 1 个回答 | 0
1
个回答提问
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 years 前 | 0 个回答 | 0
0
个回答提问
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 years 前 | 1 个回答 | 0
1
个回答提问
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 years 前 | 1 个回答 | 0
1
个回答提问
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 years 前 | 2 个回答 | 0
2
个回答提问
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 years 前 | 1 个回答 | 0
1
个回答提问
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) ...
4 years 前 | 2 个回答 | 0