Solved


Celsius to Fahrenheit

5 years ago

Solved


Fahrenheit to Celsius

5 years ago

Solved


vector problem 2

5 years ago

Solved


Vector problem 1

5 years ago

Solved


Unit

5 years ago

Solved


Relative points in 2D: problem 1
The 2D pose of a robot, with respect to a world coordinate frame {O}, is described by a 3x3 homogenous transform matrix T. A la...

5 years ago

Solved


what is the right angle

5 years ago

Solved


find

5 years ago

Answered
Create Incidence matrix from Graph theory?
ok >> G=digraph( [ 1 2 2 2 3 4] , [4 1 3 4 1 3]); >> I = full(incidence(G)) I = -1 1 0 0 1 0 ...

5 years ago | 1

| accepted

Answered
Create Incidence matrix from Graph theory?
>> G=digraph( [ 1 2 2 2 3 4] , [4 1 3 4 1 3]); >> full(G.adjacency) ans = 0 0 0 1 1 0 1 ...

5 years ago | 0

Answered
Change date format in vector
t1 = datetime("4/1/2019 12:45:00 AM",'InputFormat',"dd/MM/yyyy HH:mm:ss a"); t2 = datetime("15/6/19 18:10",'InputFormat',"dd/M...

5 years ago | 0

| accepted

Answered
For loop and if else statements with multiple conditions
clear;clc;close all [m, n] = deal(4, 8); matrix_data = rand(m, n); num = ['1st','2nd','3rd', sprintfc('%dth', 4:8)]; for i =...

5 years ago | 1

| accepted

Answered
How to get specific values from matrix in column 1, based on values in other columns?
clear;clc;close all load sub-01_T2_planktimes R = accumarray(sub01T2(:,2:3)+1,sub01T2(:,1),[], @(x){x}); R{2,2} ans = ...

5 years ago | 0

Answered
Histogram Only Plotting 1 Point
I think you can use bar, not histogram bar(error)

5 years ago | 0

Answered
Dialog UI and sprintf creating unnecessary new lines
The following is my code. It is can work normally. Can you give your code here? function mydialog(line1,line2,line3) if narg...

5 years ago | 0

Solved


What is the current time in Darwin, Australia?
Traders need to track exchange calendars and trading hours in detail, and account for time zone differences and daylight savings...

5 years ago

Solved


Function minimization - global minimum
Sequel of problem 45951 <https://www.mathworks.com/matlabcentral/cody/problems/45951> Can you do even better, within the r...

5 years ago

Solved


Function minimization - beat fminbnd!
Matlab's fminbnd function finds a minimizer of a function within an interval. If often gets stuck in local minima. Can you do...

5 years ago

Solved


Function minimization - beat fminsearch!
Sequel of problem 45948 <https://www.mathworks.com/matlabcentral/cody/problems/45948-function-minimization-beat-fminbnd> M...

5 years ago

Solved


Longest run of consecutive numbers (★★★★★)
(copy of Problem 672) Given a vector a, find the number(s) that is/are repeated consecutively most often. For example, if you...

5 years ago

Solved


Let's create histogram data by yourself.
We'd like to create histogram data, which first column shows the data, and second column shows the frequency. input = [1, 2, ...

5 years ago

Solved


Flag a convertible string
If a string is able to be entirely converted to an integer, return a "true" flag. Otherwise, return a false flag. For example: ...

5 years ago

Solved


How to locate the position of an element in a vector without using the find function
(copy of prob 105 with test for find function) Write a function posX = *locatePos* (x,y) which returns the location o...

6 years ago

Solved


Vector of digits (★★)
Given a positive integer x, construct a vector y with all the digits of x in the order of appearance in x. Thus, if x = 172...

6 years ago

Solved


GPA
Math's credit is 5 and you got x | Physics's credit 7 and you got y what is your GPA

6 years ago

Solved


counting sequence
A counting sequence is formed by "counting" the entries in a given sequence.

6 years ago

Solved


Percentage
There is x liter water and y gram => z is percentage of salt in water

6 years ago

Solved


Matrix indexing with two vectors of indices (★★)
(copy of Prob 589) Given a matrix M and two index vectors a and b, return a row vector x where x(i) = M(a(i),b(i)). Thus, if...

6 years ago

Solved


Reindex a vector (★★)
(copy of Prob. 676) You are given two vectors of equal length. Vector N has numeric values (no Inf or NaN) while vector IDX h...

6 years ago

Solved


Get the elements of diagonal and antidiagonal for any m-by-n matrix (★★★★)
(copy of prob. 859) In this problem you must submit a solution which returns the diagonal and anti-diagonal elements without ...

6 years ago

Load more