Answered
Please explain the following code for me !!!
You have generated code using generate code in the file menu of your figure. So next time when you want to make a figure of th...

4 years ago | 0

| accepted

Answered
How to use imageDatastore function to train model on .mat file dataset?
General Tutorial: https://in.mathworks.com/matlabcentral/fileexchange/99779-neural-network-and-knn-algorithm-tutorial-with-matl...

4 years ago | 0

Answered
Beginner Question 5x5 Matrix
@Kutay Furkan AKALIN consider accepting answer so that it is closed. @Steven Lord that is an amazing discovery.

4 years ago | 0

Answered
load dat file in matlab
You can try readtable T=readtable('somefile.dat')

4 years ago | 0

| accepted

Answered
Interleaved repmat (row duplication)
Try this A=[1,0,0; 0 0 1; 1 1 1;]; k=1; for i =1:3 T(k:k+1,:)=repmat(A(i,:),2,1); k=k+2; end T

4 years ago | 0

Answered
How to turn off X axis while keeping the X axis grid lines?
Hi Please try this and see if this is what you wanted. grid on set(gca,'Xticklabel',{})

4 years ago | 1

| accepted

Answered
grouping values that as need
An example: x=linspace(1,60,60); k=1; for i =1:6:length(x) B(k,1:6)=x(i:i+5) %; add this semicolon if you dont want this t...

4 years ago | 1

| accepted

Answered
How to turn off X axis while keeping the X axis grid lines?
grid on set(gca,'Xtick',[],'Ytick',[])

4 years ago | 0

Answered
Draw the graph by calling the script
Ok let me give you a simple script that will do this work for you. function drawscript(x,y) plot(x,y) set(gca,'TickLength',[...

4 years ago | 0

Solved


Divisible by 9
Pursuant to the <http://www.mathworks.com/matlabcentral/cody/problems/42404-divisible-by-2 first problem> in this series, this o...

4 years ago

Solved


Divisible by 6
Pursuant to the <http://www.mathworks.com/matlabcentral/cody/problems/42404-divisible-by-2 first problem> in this series, this o...

4 years ago

Solved


Divisible by 4
Pursuant to the <http://www.mathworks.com/matlabcentral/cody/problems/42404-divisible-by-2 first problem> in this series, this o...

4 years ago

Solved


Divisible by 10
Pursuant to the <http://www.mathworks.com/matlabcentral/cody/problems/42404-divisible-by-2 first problem> in this series, this o...

4 years ago

Solved


Divisible by 5
Pursuant to the <http://www.mathworks.com/matlabcentral/cody/problems/42404-divisible-by-2 first problem> in this series, this o...

4 years ago

Solved


Divisible by 3
Pursuant to the <http://www.mathworks.com/matlabcentral/cody/problems/42404-divisible-by-2 first problem> in this series, this o...

4 years ago

Solved


Divisible by 2
This is the first problem in a set of "divisible by x" problems. You will be provided a number as a string and the function you ...

4 years ago

Submitted


Tutorials using Alexnet to detect digits
Using Alexnet to detect digits.

4 years ago | 1 download |

0.0 / 5

Submitted


Extracting features using DL &use in ML for classification
Tutorials to use Deep Learning to extract features and feed them into a SVM ML to classify diseased leaves.

4 years ago | 1 download |

0.0 / 5

Submitted


Edge Detection from live motion cameras
This simple program detects the edge from a live motion picture and displays it next to the original picture. The detection is l...

4 years ago | 3 downloads |

0.0 / 5

Submitted


Neural Network and KNN Algorithm Tutorial with Matlab
Setting up an neural network and using KNN Algorithm for classifying IRIS flowers.

4 years ago | 1 download |

0.0 / 5

Solved


The Piggy Bank Problem
Given a cylindrical piggy bank with radius g and height y, return the bank's volume. [ g is first input argument.] Bonus though...

4 years ago

Question


Combine two models in simbiology, where one of them is a species.
I am having 2 species reacting to give me a reaction product. Can I replace one of the species with another model. Let t...

5 years ago | 1 answer | 0

1

answer

Solved


Back and Forth Rows
Given a number n, create an n-by-n matrix in which the integers from 1 to n^2 wind back and forth along the rows as shown in the...

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

5 years ago

Solved


Fibonacci sequence
Calculate the nth Fibonacci number. Given n, return f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ... Examples: Inpu...

5 years ago

Solved


Is the Point in a Triangle?
Check whether a point or multiple points is/are in a triangle with three corners Points = [x, y]; Triangle = [x1, y1; x...

5 years ago

Solved


Rescale Scores
Each column (except last) of matrix |X| contains students' scores in a course assignment or a test. The last column has a weight...

5 years ago

Solved


Calculate Inner Product
Given two input matrices, |x| and |y|, check if their inner dimensions match. * If they match, create an output variable |z|...

5 years ago

Solved


Find MPG of Lightest Cars
The file |cars.mat| contains a table named |cars| with variables |Model|, |MPG|, |Horsepower|, |Weight|, and |Acceleration| for ...

5 years ago

Solved


Find the Best Hotels
Given three input variables: * |hotels| - a list of hotel names * |ratings| - their ratings in a city * |cutoff| - the rat...

5 years ago

Load more