Answered
Does anyone have any sample on MATLAB coding for Number plate recognition?
Search the File Exchange for <http://www.mathworks.com/matlabcentral/fileexchange/index?utf8=%E2%9C%93&term=Number+plate+recogni...

11 years ago | 0

| accepted

Answered
False position infinite loop
I reformatted your function. Neither |e| nor |tol| is changed in the while-loop. If &nbsp |e > tol| &nbsp is |true| when e...

11 years ago | 0

Answered
Is there anyway I can extract variables from another matlab script?
See * <http://www.mathworks.com/matlabcentral/fileexchange/28572-sharedmatrix sharedmatrix, by Joshua Dillon> * <http://smlv...

11 years ago | 0

| accepted

Answered
Logical indexing when index exceeds matrix dimensions
Yes, Matlab behaves as you describe >> x = 1; % <1x1 double> >> is = false( 1,100); % <1x100 logica...

11 years ago | 0

Answered
How do i complete this matrix that has n+1 rows and m columns?
_"stops at the 2nd row of the matrix"_ &nbsp Firstly, I think it stop at the third row. Why shouldn't it stop after assigning v...

11 years ago | 1

| accepted

Answered
How to tell a loop to do an iteration when a new row is added to the matrix?
_"[1,2,3,4,5,6,7,8,9,10]. [I] want to pull out 2,4,6,8 etc and 3,6,9,etc."_ that's easy: >> vec = [1,2,3,4,5,6,7,8,9,10];...

11 years ago | 0

| accepted

Answered
multiply numbers in a table
Try x = [1;2;3;4]; reshape( repmat( transpose(x), [4,1]), [], 1 )

11 years ago | 1

| accepted

Answered
How can I view Timeseries data?
<</matlabcentral/answers/uploaded_files/21056/cssm.PNG>> &nbsp This is R2013a. Now I tested something new (to me): the &nb...

11 years ago | 0

| accepted

Answered
Help with understanding how the handles structure is passed and updated in GUIs
I assume that you use GUIDE. A callback function looks something like this (see below). |handles| is passed as an input argument...

11 years ago | 1

| accepted

Answered
Why can't I save very small numbers in a vector?
The small numbers are there, but not displayed. (My guess.) Try >> format long >> a = [1e9,1e-9] a = 1...

11 years ago | 2

Answered
Permutations from two sets of files
With Matlab there are mostly many ways. Especially, there are many functions to read text files. Here is a straight forward func...

11 years ago | 0

| accepted

Answered
The code is unreachable.
|INIT_DETECT| is always false, thus the first branch of the if-statement cannot be reached.

11 years ago | 0

| accepted

Answered
Subscript indices must either be real positive integers or logicals. Error?
To start * rename |i| to |ii| because <http://www.mathworks.se/help/matlab/ref/i.html i, Imaginary unit> * Add the line &nbs...

11 years ago | 0

Answered
Read colomn data from file
Try TheData = cssm(); where function TheData = cssm() FormatStr = repmat( '%f', 1,12 ); Fi...

11 years ago | 0

| accepted

Answered
Problems with using a loop structure within an fzero command.
First compare the order of the input arguments in F = @(f,Re) 2*log10(Re*sqrt(f))-0.8-(1/sqrt(f)); and in fCW(...

11 years ago | 0

Answered
Need help flipping elements in an array without using built in functions
Hint: %% vec = 1:12; ix = 6; %% vec = vec( [(1:ix-2),ix,ix-1,(ix+1:end)] ) vec = ...

11 years ago | 0

Answered
Writing a code for taking averaging at a point
Run %% vec = transpose(1:100); ix = 40; rng = 20; %% avg = mean( vec( ix-rng : ix+rng ) ); a...

11 years ago | 0

Answered
Is it possible to merge HDF5 files?
I was about to answer no, but googled for "merge HDF5 files" and found &nbsp <http://www.space-research.org/hdf5/hdf5.htm h5me...

11 years ago | 0

| accepted

Answered
How to import txt files with variable column number with textscan ?
_"check the tokens size for the column numbers"_ &nbsp thus ncol = number_of_columns and a = textscan( fid...

11 years ago | 0

| accepted

Answered
reading undelimited comma numbers
Here is a file, which I think will extract the numerical data from your file. I tested with some data I found on the net. Try...

11 years ago | 0

| accepted

Answered
date and time serial conversion
Hint: >> sdn = datenum('04.11.2014','dd.mm.yyyy' ) sdn = 735907 Matlabs serial date number and ...

11 years ago | 1

| accepted

Answered
How to write2 strings in a cell in Excel ?
|[a,b]| &nbsp creates a &nbsp<2x2 cell>. That's why you get 2x2 "cells" in Excel. &nbsp Instead try cac = cellfun( @(s...

11 years ago | 2

| accepted

Answered
Reshape a matrix in different way
Is this Cody? reshape( permute( cat( 2, 2*mmm-1, 2*mmm ), [2,1] ), [],1 ) or with fewer characters reshape( per...

11 years ago | 0

| accepted

Answered
Concatenation of arrays of structure
I assume that &nbsp |[10:50;60:100]| &nbsp should be &nbsp |[10:10:50;60:10:100]| %% a=struct('a',[]); a(1...

11 years ago | 0

Answered
hello...when an error occurs i have to run the code again and enter all my input datas again...i want you to help me please to re-enter just the incorrect data not all again
This is not the most elegant approach, but it is easy to grasp and it works Try >> area = my_main_function area ...

11 years ago | 0

Answered
How to dynamically execute code stored in a string variable
_"an object like this ev1 = @(T,Y)ev1(T,Y,a); "_ &nbsp that is an <http://www.mathworks.se/help/matlab/matlab_prog/anonymous-fun...

11 years ago | 1

| accepted

Answered
Replace NaNs with next real value.
If &nbsp |x(end)| &nbsp is a number while any( isnan( x ) ) x1 = [ x(2:end), inf ]; x( isnan(x) ) = x...

11 years ago | 0

Answered
dection of a word inside a condition (if)
First idea: >> material = 'steel'; >> strcmp( material, 'steel' ) ans = 1

11 years ago | 0

Answered
Change struct property values in a class
Replace classdef testclass by classdef testclass < handle and search the help for <http://www.mathworks.se...

11 years ago | 1

| accepted

Answered
Matlab 2014b crashes when I try to modify the system path in Yosemite Mac OS 10.10
The light blue banner above says: To resolve issues starting MATLAB on Mac OS X 10.10 (Yosemite) visit: <http://www.mathworks....

11 years ago | 0

Load more