Solved


Matlab Basics II - squares
Write a function that takes matrix A, and squares each element in the matrix example: A = [1 2 3] output = [1 4 9]

más de 1 año ago

Solved


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

más de 1 año ago

Solved


Find the maximum number of decimal places in a set of numbers
Given a vector or matrix of values, calculate the maximum number of decimal places within the input. Trailing zeros do not coun...

más de 1 año ago

Solved


Make roundn function
Make roundn function using round. x=0.55555 y=function(x,1) y=1 y=function(x,2) y=0.6 y=function(x,3) ...

más de 1 año 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...

más de 1 año ago

Solved


Matlab Basics - Rounding III
Write a script to round a large number to the nearest 10,000 e.g. x = 12,358,466,243 --> y = 12,358,470,000

más de 1 año ago

Solved


Matlab Basics - Rounding II
Write a script to round a variable x to 3 decimal places: e.g. x = 2.3456 --> y = 2.346

más de 1 año ago

Solved


Check that number is whole number
Check that number is whole number Say x=15, then answer is 1. x=15.2 , then answer is 0. <http://en.wikipedia.org/wiki/Whole...

más de 1 año ago

Solved


MATLAB Basic: rounding IV
Do rounding towards plus infinity. Example: -8.8, answer -8 +8.1 answer 9 +8.50 answer 9

más de 1 año ago

Solved


MATLAB Basic: rounding III
Do rounding towards minus infinity. Example: -8.8, answer -9 +8.1 answer 8 +8.50 answer 8

más de 1 año ago

Solved


MATLAB Basic: rounding II
Do rounding nearest integer. Example: -8.8, answer -9 +8.1 answer 8 +8.50 answer 9

más de 1 año ago

Solved


MATLAB Basic: rounding
Do rounding near to zero Example: -8.8, answer -8 +8.1 answer 8

más de 1 año ago

Question


What does "-tf inf" stand for in the command system('rtwdemo_secondOrderSystem -tf inf &')
I have just completed the tutorials on Simulink Coder, I would like to know what are the parameters -tf inf doing . Does any...

más de 1 año ago | 1 answer | 0

1

answer

Answered
How can I create a continually updating graph from MQTT subscription data?
I have a similar project, though, I think you need to publish timestamp,data in the same message to be abe to plot the real time...

alrededor de 2 años ago | 0

| accepted

Solved


Alphabetize by last name
Given a list of names in a cell array, sort the list by the last name. So if list = {'Barney Google','Snuffy Smith','Dagwood ...

más de 2 años ago

Solved


Find the longest sequence of 1's in a binary sequence.
Given a string such as s = '011110010000000100010111' find the length of the longest string of consecutive 1's. In this examp...

más de 2 años ago

Question


How to save a callback function
I need to save a datacursormode callback function, as a local variable (at least the syntax) . The argument of this function is...

más de 2 años ago | 0 answers | 0

0

answers

Solved


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

más de 2 años ago

Solved


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

más de 2 años ago

Solved


Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

más de 2 años ago

Solved


Interpolator
You have a two vectors, a and b. They are monotonic and the same length. Given a value, va, where va is between a(1) and a(end...

más de 2 años ago

Solved


Make a checkerboard matrix
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Examp...

más de 2 años ago

Solved


Read a column of numbers and interpolate missing data
Given an input cell array of strings s, pick out the second column and turn it into a row vector of data. Missing data will be i...

más de 2 años ago

Solved


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

más de 2 años ago

Answered
how to upload a random excel file and read it
The trick is that your functions have local variables, you need to send them out using the handles. you may use the import da...

más de 2 años ago | 0

Question


How to create an object using class name
In my function, I am getting the class name from an object to create a new one. What is the right syntax to creat the new Object...

más de 2 años ago | 3 answers | 0

3

answers

Question


Icon (start, finish, waypoint,checkflag) on plot
Is there any graphical icon already implemented in MATLAB for 2D /3D plots?

más de 2 años ago | 1 answer | 0

1

answer

Answered
Mqtt toolbox in Matlab unable to process all mqtt messages
I also confirm that the function readall is not performing as expected, causing a downsampling. I am generating a sinus wave 2H...

más de 2 años ago | 0

Answered
Mqtt toolbox in Matlab unable to process all mqtt messages
I suspected the Quality Of Service set to 2, but it is not influencing the number of readings

más de 2 años ago | 0

Answered
How to connect local host with mqtt client/broker??
Check your IP adress of your localhost (ipconfig or ifconfig if you are linux user): this would be the address to use : 'tcp://0...

más de 2 años ago | 0

Load more