**Statistics**

RANK**35,259**

of 273,330

REPUTATION**1**

CONTRIBUTIONS

**10** Questions

**2** Answers

ANSWER ACCEPTANCE **
50.0%
**

VOTES RECEIVED**1**

RANK

of 18,452

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

why am I getting error "Undefined function or variable"

Thank you all for replying me so fast and early. The problem is solved when I restarted my computer and then Matlab started doin...

4 years ago | 0

Question

why am I getting error "Undefined function or variable"

I have defined a variable called "bestDimen". There is no error. I crosschecked many times. The script is also correct. It was w...

4 years ago | 2 answers | 0

### 2

answersQuestion

How to plot 3D scatter plot with legends?

I want to plot 3D scatter plot, change in colour with the label attached to the data point. Is it possible in Matlab or simply s...

5 years ago | 1 answer | 0

### 1

answerQuestion

How to edit confusion matrix figure in matlab?

For example, I have added a figure of confusion matrix generated in Matlab. I don't want the circled things information. How not...

5 years ago | 1 answer | 0

### 1

answerQuestion

How to read text file in matlab?

I have a text file. The example file attached here. Could you tell me please how to read it in table format? The 'dlmread' forma...

5 years ago | 1 answer | 0

### 1

answerQuestion

K-cross validation ANN

Check my following code, if there is any error (may be logical) let me know. Thank You. clc;clear all; close all; %traini...

5 years ago | 0 answers | 0

### 0

answersQuestion

how to calculate the classification accuracy in neural network toolbox?

net=patternnet(10); [net,tr]=train(net,inputs,targets); outputs=net(inputs); [values,pred_ind]=max(outputs,[],1...

5 years ago | 3 answers | 1

### 3

answersQuestion

Is it necessary to initialize weights and biases while training neural network? If yes then how to initialize it?

* I am using "patternnet" function for classification purpose. Is it necessary to initialize weights and biases with a proper nu...

5 years ago | 1 answer | 0

### 1

answerQuestion

How not to normalize the data in patternnet function and how to do K-fold cross validation technique?

I want to do classification using ANN 'patternnent' function. I am new to ANN. I have already normalised data and also divided i...

5 years ago | 1 answer | 0

### 1

answerQuestion

How to read large size excel files in matlab?

I have a file of 30000 rows and 1026 columns. If I use "xlsread" matlab functions then it takes about 6 to 7 minutes to read. ...

6 years ago | 0 answers | 0

### 0

answersSolved

Back to basics 1 - Saving

Covering some basic topics I haven't seen elsewhere on Cody. Given an input variable 'x', save it to disk in a file named 'co...

7 years ago

Solved

Who Has the Most Change?

You have a matrix for which each row is a person and the columns represent the number of quarters, nickels, dimes, and pennies t...

7 years ago

Solved

Bullseye Matrix

Given n (always odd), return output a that has concentric rings of the numbers 1 through (n+1)/2 around the center point. Exampl...

7 years ago

Solved

Target sorting

Sort the given list of numbers |a| according to how far away each element is from the target value |t|. The result should return...

7 years ago

Solved

Create a row array using double colon operator

Create a row array from 9 to 1, using the double colon operator.

7 years ago

Solved

Distance walked 1D

Suppose you go from position 7 to 10 to 6 to 4. Then you have walked 9 units of distance, since 7 to 10 is 3 units, 10 to 6 is 4...

7 years ago

Solved

Fahrenheit to Celsius using multiple statements

Given a Fahrenheit value F, convert to a Celsius value C. While the equation is C = 5/9 * (F - 32), as an exercise use two state...

7 years ago

Solved

Return the largest number that is adjacent to a zero

This example comes from Steve Eddins' blog: <http://blogs.mathworks.com/steve/2009/05/27/learning-lessons-from-a-one-liner/ Lear...

7 years ago

Solved

The Goldbach Conjecture

The <http://en.wikipedia.org/wiki/Goldbach's_conjecture Goldbach conjecture> asserts that every even integer greater than 2 can ...

7 years ago

Solved

The Hitchhiker's Guide to MATLAB

Output logical "true" if the input is the answer to life, the universe and everything. Otherwise, output logical "false".

7 years ago

Solved

Which values occur exactly three times?

Return a list of all values (sorted smallest to largest) that appear exactly three times in the input vector x. So if x = [1 2...

7 years ago

Solved

How to find the position of an element in a vector without using the find function

Write a function posX=findPosition(x,y) where x is a vector and y is the number that you are searching for. Examples: fin...

7 years ago

Solved

Circle area using pi

Given a circle's radius, compute the circle's area. Use the built-in mathematical constant pi.

7 years ago

Solved

Reverse the vector

Reverse the vector elements. Example: Input x = [1,2,3,4,5,6,7,8,9] Output y = [9,8,7,6,5,4,3,2,1]

7 years ago

Solved

Remove the vowels

Remove all the vowels in the given phrase. Example: Input s1 = 'Jack and Jill went up the hill' Output s2 is 'Jck nd Jll wn...

7 years ago

Solved

Simple equation: Annual salary

Given an hourly wage, compute an annual salary by multiplying the wage times 40 and times 50, because salary = wage x 40 hours/w...

7 years ago

Solved

Sort a list of complex numbers based on far they are from the origin.

Given a list of complex numbers z, return a list zSorted such that the numbers that are farthest from the origin (0+0i) appear f...

7 years ago

Solved

Summing digits

Given n, find the sum of the digits that make up 2^n. Example: Input n = 7 Output b = 11 since 2^7 = 128, and 1 + ...

7 years ago

Solved

Return the 3n+1 sequence for n

A Collatz sequence is the sequence where, for a given number n, the next number in the sequence is either n/2 if the number is e...

7 years ago