photo

Abhinav


IIITD&M Kanchhepuram

Last seen: fast 5 Jahre vor Aktiv seit 2014

Followers: 0   Following: 0

Nachricht

Statistik

All
MATLAB Answers

20 Fragen
2 Antworten

Cody

0 Probleme
9 Lösungen

RANG
239.013
of 300.813

REPUTATION
0

BEITRÄGE
20 Fragen
2 Antworten

ANTWORTZUSTIMMUNG
40.0%

ERHALTENE STIMMEN
0

RANG
 of 21.086

REPUTATION
N/A

DURCHSCHNITTLICHE BEWERTUNG
0.00

BEITRÄGE
0 Dateien

DOWNLOADS
0

ALL TIME DOWNLOADS
0

RANG
42.488
of 171.169

BEITRÄGE
0 Probleme
9 Lösungen

PUNKTESTAND
100

ANZAHL DER ABZEICHEN
1

BEITRÄGE
0 Beiträge

BEITRÄGE
0 Öffentlich Kanäle

DURCHSCHNITTLICHE BEWERTUNG

BEITRÄGE
0 Discussions

DURCHSCHNITTLICHE ANZAHL DER LIKES

  • First Review
  • Thankful Level 3
  • First Answer
  • Solver

Abzeichen anzeigen

Feeds

Anzeigen nach

Gelöst


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

etwa 6 Jahre vor

Gelöst


Add two numbers
Given a and b, return the sum a+b in c.

etwa 6 Jahre vor

Frage


Load custom test and training data to 'HyperparameterOptimizationOptions' in SVM regression.
Hi! I want the 'HyperparameterOptimizationOptions' in SVM regression to optimize my regression problem using the test and train...

etwa 6 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


How to find values of 'a' and 'b' satisfying following eqaulity?
Following is an equation with two unknows 'a' and 'b'. (20*(2627.82-a)^2+2*267.25*(2627.82-a)*(-37.15-b)+4677.69*(-37.15-b)^2...

mehr als 7 Jahre vor | 0 Antworten | 0

0

Antworten

Gelöst


Back to basics 21 - Matrix replicating
Covering some basic topics I haven't seen elsewhere on Cody. Given an input matrix, generate an output matrix that consists o...

fast 8 Jahre vor

Gelöst


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

fast 8 Jahre vor

Beantwortet
I'm unable to access data using xlsread
You need to use the exact name of sheet. This is case sensitive. For e.g. if sheet name in excel workbook is Sheet1, then in fun...

fast 8 Jahre vor | 0

Frage


How to remove the row of matrix which contains same value in specific columns?
I have a dataset (just a subset of a larger dataset, attached excel file). In the dataset, I want to remove the rows which have ...

fast 8 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to pass additional inputs to function in 'fminbnd'?
I have a function to optimize with respect to 'lambda': function v = minfunction(lambda) data = xlsread('data.xl...

fast 8 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to plot two variables on same graph in matlab with mean and extreme values?
I have to plot two variables in the same plot with mean extreme values. The variables and values are below: x = [0.8354 1.6...

etwa 8 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to stop a program if average change in function value in last 10 iterations is less than 0.001
How can I program to stop execution of my code when average change in value of function let us say 'f' is less than 0.001 in las...

mehr als 8 Jahre vor | 0 Antworten | 0

0

Antworten

Gelöst


Column Removal
Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; and ...

fast 9 Jahre vor

Gelöst


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

fast 9 Jahre vor

Gelöst


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

fast 9 Jahre vor

Gelöst


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

fast 9 Jahre vor

Gelöst


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

fast 9 Jahre vor

Frage


How to find intermediate points and plot following problem in MATLAB?
I have three variables x, y and z. Each variable value can be between [0 0.5]. I want to generate 20 equidistant points for each...

etwa 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to access zero index in the following code?
I need to calculate value of tol for i=1:20 tol=abs(hvq(i))-abs(hvq(i-1)) Now in the first iteration as it is giving m...

etwa 9 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


How to plot inequalities in three dimesnions?
I have set of following inequalities {(x,y,z): x+2*y<=1, x-z<=2} How to plot them in MATLAB? x,y and z are vectors.

mehr als 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to handle this loop?
I have a loop in my code as below for i=1:n-1 k=1:sz1; temp=rand(1,sz1) if temp(1,:)<=0.6 QAKAN1(i,k)=...

fast 11 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


Help with this code.
for i = 1:5 b1(i,:)= round(((1860-0)*(rand(1)))+0) end b1 for i = 1:5...

fast 11 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Algorithm for equality condition.
b5=zeros(5,1) b6=zeros(5,1) b1=[ 1417.1; 1299; 236.19; 501.9; 708.57] %% while (~(...

fast 11 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Regarding random generation of elements in a matrix.
I have a code like this randi([0 1],1,10) I want it to generate random 0 and 1. But I want that it should generate at max...

fast 11 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Regarding matrix operation in MATLAB
for i=1:5 s(i,:)=randi([0 1],1,5); xl=0; xu=1860; l=5; si=bi2de(s); b=(xl+((xu-xl)/((2^l)-1)))*si; end ...

fast 11 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to find normal distribution of the number?
I have a normal distribution like this Normal(6,3) where 6 is mean and 3 is standard deviation. How to generate numbers from thi...

fast 11 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to find the iteration number which gave me specific result?
Say I am generating an array in matlab using for loop. In that array I have to find which value is minimum, so I used min functi...

etwa 11 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


I have a matix like this. I don't want the exponential form. I just want the normal form. For eg 1875.5, 1747.5 etc not 1.7475e+03. Please give me some hint.
1.0e+03 * 1.084500000000000 1.687400000000000 1.660100000000000 0.232000000000000 1.346400000000000 1.1486000...

etwa 11 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to generate a random array of 1*N matrix in which sum of all elements is 1 and numbers generate should be upto 1 decimlal place only.
For eg. [0.4 0.3 0.3] It should be generated randomly.

etwa 11 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to give IF condition in following code?
I have following code. It is generating some random values of y (0 or 1). I want it to select at least 2 ones's(1) and it it sho...

etwa 11 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How can I prompt user to press some key on keyboard let us say 'c' in order to continue the program
clc clear all fprintf('Following assumptions are assumed duing execution of program \n1. Fixed cost in establishing the ...

etwa 11 Jahre vor | 2 Antworten | 0

2

Antworten

Mehr laden