photo

Aditya Singh


Indian Institute of Technology Jammu

Last seen: oltre un anno fa Attivo dal 2023

Followers: 0   Following: 0

Programming Languages:
Python, C++, C, Javascript, Go, MATLAB, SQL, Assembly
Spoken Languages:
English, Hindi
Pronouns:
He/him
Professional Interests:
C++ with MATLAB, Software Development Tools, Simulink, End-User Support

Statistica

All
  • Knowledgeable Level 2
  • First Answer
  • Solver

Visualizza badge

Feeds

Visto da

Risposto
SQL query not working with exec function and sqlite database connection
Hi Pranav, To my understanding you are trying to merge two tables based on certain constraints in SQLite. There is no "MERGE" ...

oltre un anno fa | 0

| accettato

Risposto
rosinit error - mac-m2 chip
Hi Naveen, The error you're encountering with rosinit on Mac seems to be related to the Python virtual environment creation. To...

oltre un anno fa | 0

Risolto


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

oltre un anno fa

Risolto


Indexed Probability Table
This question was inspired by a Stack Overflow question forwarded to me by Matt Simoneau. Given a vector x, make an indexed pro...

oltre un anno fa

Risolto


Swap the first and last columns
Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...

oltre un anno fa

Risolto


Is this triangle right-angled?
Given any three positive numbers a, b, c, return true if the triangle with sides a, b and c is right-angled. Otherwise, return f...

oltre un anno fa

Risolto


Find a Pythagorean triple
Given four different positive numbers, a, b, c and d, provided in increasing order: a < b < c < d, find if any three of them com...

oltre un anno fa

Risolto


Triangle sequence
A sequence of triangles is constructed in the following way: 1) the first triangle is Pythagoras' 3-4-5 triangle 2) the second...

oltre un anno fa

Risolto


Length of a short side
Calculate the length of the short side, a, of a right-angled triangle with hypotenuse of length c, and other short side of lengt...

oltre un anno fa

Risposto
How to convert serial number to date number
Hi, To my understanding you are trying to convert the serial number to dates of the format DD MM YYYY. The following code will...

oltre un anno fa | 0

| accettato

Risolto


Finding Perfect Squares
Given a vector of numbers, return true if one of the numbers is a square of one of the numbers. Otherwise return false. Example...

oltre un anno fa

Risolto


Encode Roman Numerals
Create a function taking a non-negative integer as its parameter and returning a string containing the Roman Numeral representat...

oltre un anno fa

Risolto


Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

oltre un anno fa

Risposto
Heat Map or color map of overlapping multiple line plots
Hi Mark, To my understanding you have a large dataset and want to visualize it. If you want a comprehensive overview of the t...

oltre un anno fa | 0

Risposto
How to create nodal model of cylinder in matlab ?
Hi Sakshi, To my understanding you want to create a nodal model of cyclinder. You can use the meshgrid function to generate a...

oltre un anno fa | 1

Risolto


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

oltre un anno fa

Risolto


Weighted average
Given two lists of numbers, determine the weighted average as follows Example [1 2 3] and [10 15 20] should result in 33.3...

oltre un anno fa

Risolto


Inner product of two vectors
Find the inner product of two vectors.

oltre un anno fa

Risolto


to the 2 all elements
to the 2 all elements

oltre un anno fa

Risolto


Return the Fibonacci Sequence
Write a code which returns the Fibonacci Sequence such that the largest value in the sequence is less than the input integer N. ...

oltre un anno fa

Risolto


Calculate the area of a triangle between three points
Calculate the area of a triangle between three points: P1(X1,Y1) P2(X2,Y2) P3(X3,Y3) these three points are the vertices of ...

oltre un anno fa

Risposto
A question about motion plot
Hi Sina, I understand you want to add line between points in the motion plot. You can do it by plotting a line between the des...

oltre un anno fa | 0

| accettato

Risolto


Whether the input is vector?
Given the input x, return 1 if x is vector or else 0.

oltre un anno fa

Risolto


Convert Fahrenheit to Celsius
Calculate the Celsius temperature C given the Fahrenheit temperature F. Examples: Input F = 90 Output C is 32.22 I...

oltre un anno fa

Risolto


reverse string
input='rama' output='amar'

oltre un anno fa

Risolto


ascii value
let input='a' output=97

oltre un anno fa

Risolto


Sum of series I
What is the sum of the following sequence: Σ(2k-1) for k=1...n for different n?

oltre un anno fa

Risposto
Fibonacci Series using while loop .
Hi, I understand you are getting garbage values. The issue in your code is that you have not initialized the fibo array with en...

oltre un anno fa | 1

| accettato

Risposto
Creating a Matrix( 3 by N*3) from the column vector of 3 other matrices(3 by N), in vectorised operations
Hi, To my understanding you want to concatnate coloumn from each of the matrix. The following code will do it, A=[1 ,10, 19;...

oltre un anno fa | 0

Risposto
Send Outlook email by using .NET
Hi Tero, To my understanding you want to send mail using the .NET API and outlook. Using the actxserver and the oulook API, i...

oltre un anno fa | 0

| accettato

Carica altro