Solved

How to subtract?

*± ± ± ± ± ± ± ± ± ± ±* * Imagine you need to subtract one...

circa 2 anni ago

Answered

anyone have source code of fuzzy c means?

There is <https://uk.mathworks.com/help/fuzzy/fcm.html fcm> function from <https://uk.mathworks.com/help/fuzzy/index.html?s_cid=...

anyone have source code of fuzzy c means?

There is <https://uk.mathworks.com/help/fuzzy/fcm.html fcm> function from <https://uk.mathworks.com/help/fuzzy/index.html?s_cid=...

circa 2 anni ago | 1

Question

Live Editor and view neural network

Hi, I would like to add a neural network graphical diagram to my live script. Unfortunately command <https://uk.mathworks.co...

circa 2 anni ago | 1 answer | 0

Answered

How to get 15-min average values from 10 min average values?

I suggest to use interpolation: <https://uk.mathworks.com/help/matlab/ref/interp1.html interp1> t1 = 10:10:60 av1 = [3, ...

How to get 15-min average values from 10 min average values?

I suggest to use interpolation: <https://uk.mathworks.com/help/matlab/ref/interp1.html interp1> t1 = 10:10:60 av1 = [3, ...

circa 2 anni ago | 0

Answered

save image in matlab

Please read this topic in a documentation: <https://www.mathworks.com/help/matlab/creating_plots/save-figure-at-specific-size-a...

save image in matlab

Please read this topic in a documentation: <https://www.mathworks.com/help/matlab/creating_plots/save-figure-at-specific-size-a...

circa 2 anni ago | 0

| accepted

Answered

Question on imageDataStore syntax and parameters

All 'Name-Value Pair' arguments are described in the documentation: <https://uk.mathworks.com/help/matlab/ref/imagedatastore.ht...

Question on imageDataStore syntax and parameters

All 'Name-Value Pair' arguments are described in the documentation: <https://uk.mathworks.com/help/matlab/ref/imagedatastore.ht...

circa 2 anni ago | 0

| accepted

Answered

re-train a pre-trained autoencoder

To encode data from retrained network you need to create new network, which contains only encoder layer. Please see the code (it...

re-train a pre-trained autoencoder

To encode data from retrained network you need to create new network, which contains only encoder layer. Please see the code (it...

circa 2 anni ago | 1

Answered

I want to create random bumps on a flat surface

You can add <https://en.wikipedia.org/wiki/Gaussian_function#Two-dimensional_Gaussian_function Two-dimensional Gaussian function...

I want to create random bumps on a flat surface

You can add <https://en.wikipedia.org/wiki/Gaussian_function#Two-dimensional_Gaussian_function Two-dimensional Gaussian function...

circa 2 anni ago | 0

| accepted

Answered

Read the data from specific line in MATLAB

For the first time use <https://uk.mathworks.com/help/matlab/import_export/import-data-interactively.html Import Tool> and then ...

Read the data from specific line in MATLAB

For the first time use <https://uk.mathworks.com/help/matlab/import_export/import-data-interactively.html Import Tool> and then ...

circa 2 anni ago | 0

Answered

How could I find the start index of an "approximate" pattern in a binary vector

I would try <https://uk.mathworks.com/help/matlab/ref/regexp.html regular expressions> : case1 = [0 0 0 0 0 0 0 1 1 1 0 0 0...

How could I find the start index of an "approximate" pattern in a binary vector

I would try <https://uk.mathworks.com/help/matlab/ref/regexp.html regular expressions> : case1 = [0 0 0 0 0 0 0 1 1 1 0 0 0...

circa 2 anni ago | 0

Answered

Logistic Function Transform of vector values

Matrix dimensions must agree. Add dot before division ( */* ): S1=(1./(1 + exp(1).^(-1*Stemp)))

Logistic Function Transform of vector values

Matrix dimensions must agree. Add dot before division ( */* ): S1=(1./(1 + exp(1).^(-1*Stemp)))

circa 2 anni ago | 0

| accepted

Question

Convolutional neural network: parallel layers

Is it possible to create a CNN with parallel layers in MATLAB? For example I would like to build network similar to this one: ...

circa 2 anni ago | 2 answers | 2

Answered

How to determine which algorithm mldivide (A\b) uses

For sparse matrices check function <https://uk.mathworks.com/help/matlab/ref/spparms.html spparms> : spparms('spumoni',2) ...

How to determine which algorithm mldivide (A\b) uses

For sparse matrices check function <https://uk.mathworks.com/help/matlab/ref/spparms.html spparms> : spparms('spumoni',2) ...

oltre 2 anni ago | 2

Answered

How to calculate moving average in a matrix?

From MATLAB R2016a there are functions _<https://uk.mathworks.com/help/matlab/ref/movmean.html%20 movmean>_ and _<https://uk.mat...

How to calculate moving average in a matrix?

From MATLAB R2016a there are functions _<https://uk.mathworks.com/help/matlab/ref/movmean.html%20 movmean>_ and _<https://uk.mat...

oltre 2 anni ago | 0

Answered

Create a moving average

From MATLAB R2016a there is a function _<https://uk.mathworks.com/help/matlab/ref/movmean.html%20 movmean>_ which does not requi...

Create a moving average

From MATLAB R2016a there is a function _<https://uk.mathworks.com/help/matlab/ref/movmean.html%20 movmean>_ which does not requi...

oltre 2 anni ago | 3

Question

Pareto chart and XTickLabelRotation

Is there a way to plot Pareto chart and rotate XTick labels properly? Let's look at the code: y = randi(1e3,10,1); name...

oltre 2 anni ago | 1 answer | 0

Solved

Calculate some equation

Using given inputs x and z, make two outputs that are y1 = (xz)/(x/z)^2 + 14x^2 - 0.8z^2 y2 = x^z - z^x + (x/z)^2 - (z/x...

oltre 2 anni ago

Solved

Let's get back to school, and create multiplication tables

For a given range, create multiplication tables. (start is always < endno) Example start = 17 endno = 19 Then, ...

oltre 2 anni ago

Solved

Skip by a multiple

Given an integer create an array of its multiples. Array must have a length of 15

oltre 2 anni ago

Solved

Rounding off numbers to n decimals

Inspired by a mistake in one of the problems I created, I created this problem where you have to round off a floating point numb...

oltre 2 anni ago

Solved

Concatenate strings

concatenate a variable number of input strings to produce one outputstring

oltre 2 anni ago

Solved

Calculate area of sector

A=function(r,seta) r is radius of sector, seta is angle of sector, and A is its area. Area of sector A is defined as 0.5*(r^2...

oltre 2 anni ago

Solved

Replace values under a limit

For a vector x and number n, the goal is to find every element of x inferior to n and replace it by n. Example x= [ 1 2 3...

oltre 2 anni ago

Solved

Matrix FUN

Given a Matrix M, find out the number of elements of matrix that are divisible by 3. M = [1 2 3;4 5 6;7 8 9]; ou...

oltre 2 anni ago

Solved

BASICS - sum part of vector

Please make a function, where as input you get vector "x" and and vector "c", where in "c" vector you get indexes to sum. Examp...

oltre 2 anni ago

Solved

Summation of array

Given an array, Find the sum of all of the elements in it Examples: Input x = [1 2 3 5; 4 5 6 7]; Output y is 33

oltre 2 anni ago

Solved

Back to Basics - Find no. of elements in a matrix?

Let A be a m*n matrix. Find the total no. of elements in A ? (Hint - formula based) A = [1 2 3;4 5 6]; output = 6

oltre 2 anni ago

Solved

Vector creation

Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.

oltre 2 anni ago

Solved

Evil Number

Check if a given natural number is evil or not. Read more at <https://oeis.org/A001969 OEIS>.

oltre 2 anni ago

Solved

Convert yards to feet

The goal of this script is to convert a value given in yards to feet.

oltre 2 anni ago