Community Profile

photo

Abhishek Tiwari


Last seen: 2 months ago Active since 2022

Explore new tech

Statistics

All
  • Knowledgeable Level 2
  • First Answer
  • MATLAB Central Treasure Hunt Finisher
  • Solver

View badges

Content Feed

View by

Answered
How to use a Leaky Relu/Softmax function in a hidden layer in a Feedforward Neural Network?
Hi, The following is a list of all relevant transfer functions: % compet - Competitive transfer function. % elliotsig...

3 months ago | 0

Answered
Average of every 25 rows in a table
Hi, This might work, % Sample data data = rand(1000, 10); % Calculating Output Dimension (#columns will be same) rows = ...

3 months ago | 0

| accepted

Answered
How to apply moving harmonic average on an array?
Hi, A 'For' loop and harmmean() may do the same thing, as shown. n = numel(Kd_i); harmonicMean = Kd_i; for idx = 2:n-1 ...

3 months ago | 0

| accepted

Answered
Computing values of a formula
Hi, It appears that it is updating and doubling H with each cycle. So, the code you provided just doubles the result of the fin...

3 months ago | 0

| accepted

Answered
How to read comma separated .txt file in MATLAB ?
Hi @M Try strsplit() or split() on rows and string array '#A-R' as delimiter. It divides each element of input at the specified...

3 months ago | 0

Answered
Convert DoY and hour to datetime format
Hi, It can be done by using datetime() with modified display format as demonstrated T = readtable('https://www.mathworks.com/m...

3 months ago | 0

| accepted

Answered
MATLAB prints ''Greek letters'' in chart text, but how about sprintf, compose, string or char functions?
Hi, There are lots of pre defined greek letters. You just need to pick right index and use sprintf(). I have listed them below ...

3 months ago | 1

| accepted

Answered
How to find the row and column number in a table
Hi, It can be done with a simple conditional expression and find(). The conditional statement will convert your vector to a bin...

3 months ago | 0

Answered
I want to apply a different color to the bar in yyaxis.
Hi, It is possible to do so by specifying different colour for each bar. This can be accomplished by changing 'FaceColor' for e...

3 months ago | 1

Answered
How to put a label on each plotted curve
Hi, One method is to choose any point on each curve and add text description to it that may serve as a label. Similarly, LineMa...

3 months ago | 0

Answered
How to label the curve instead of using legend?
Hi, You can label your curve using text. Choose one of the point on each curve and add text in there to serve as a label. Exa...

3 months ago | 0

Solved


Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

4 months ago

Solved


Solve a System of Linear Equations
Example: If a system of linear equations in x₁ and x₂ is: 2x₁ + x₂ = 2 x₁ - 4 x₂ = 3 Then the coefficient matrix (A) is: 2 ...

4 months ago

Solved


Verify Law of Large Numbers
If a large number of fair N-sided dice are rolled, the average of the simulated rolls is likely to be close to the mean of 1,2,....

4 months ago

Solved


Find the Oldest Person in a Room
Given two input vectors: * |name| - user last names * |age| - corresponding age of the person Return the name of the ol...

4 months ago

Solved


Convert from Fahrenheit to Celsius
Given an input vector |F| containing temperature values in Fahrenheit, return an output vector |C| that contains the values in C...

4 months ago

Solved


Calculate Amount of Cake Frosting
Given two input variables |r| and |h|, which stand for the radius and height of a cake, calculate the surface area of the cake y...

4 months ago

Solved


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

4 months ago