MATLAB: Illegal use of reserved keyword “if” if statement Best Answer You can't do this:else data.Bladder(i) == 0You can have this:elseif data.Bladder(i) == 0or this:else data.Bladder(i) = 0but not plain "else" followed by a condition. Use whichever you want to do (since I'm not sure what you're intending), though I imagine it's probablyelseif data.Bladder(i) == 0 Related SolutionsMATLAB: My plot is not showing the points Are you saying the original points are not shown on the plot? Of course they are not, since you never plotted them!You could add a line in there:plot(x,y,'o')which would plot the original points. MATLAB: Cranial nerves extraction from Brain MRI How to convert DICOM images to JPEG Related QuestionHow to resolve this system of equationsHow to repeat a calculation in all rowsHow to get the for loop workingHow to remove arteries from the heart tissue imageAlgorithm for calculating Blood Pressure
Best Answer