Solved


Project Euler: Problem 1, Multiples of 3 and 5
If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23...

4 years ago

Answered
Use find to filter for results specified by user
Hi, strcmp is slower then == and you can use == with strings. You can also save space and get better performance by using categ...

4 years ago | 0

| accepted

Answered
Hi, how can i proceed with this question, everytime i plot it, it doesn't show me my line. Can u guys help me
You are missing . before /. See: https://www.mathworks.com/help/matlab/ref/rdivide.html https://www.mathworks.com/help/matlab/...

4 years ago | 0

| accepted

Answered
Data Tip addition not working
close all; clc figPosition = [0 0 1 1]; data = readtable('FertilitySoloCountries.xlsx', 'PreserveVariableNames', true); year...

4 years ago | 0

| accepted

Answered
Gtk-Message: 16:17:51.771: Failed to load module "canberra-gtk-module"
See bug reports: https://www.mathworks.com/support/bugreports/details/1995075 "On some Linux distributions, a message appears ...

4 years ago | 2

Answered
Gtk-Message: 10:32:31.466: Failed to load module "canberra-gtk-module"
See bug reports: https://www.mathworks.com/support/bugreports/details/1995075 "On some Linux distributions, a message appe...

4 years ago | 4

Answered
How can I convert csv files to matlab whilst also looping through folders?
Hi, I would try using datastore: https://www.mathworks.com/help/matlab/datastore.html Hope it helps.

5 years ago | 0

Answered
Exception in thread "Thread-5": java.lang.NullPointerException after exiting [Matlab 2018b]
It looks like the known bug. You can find workaround here: https://www.mathworks.com/support/bugreports/1765886

5 years ago | 4

| accepted

Answered
Getting result for Bloomberg SRCH function or Excel BSRCH
Hi, I believe this MATLAB function is equivalent to BSRCH: https://www.mathworks.com/help/datafeed/blp.lookup.html Jan

6 years ago | 0

Solved


Combine the first and last names
MATLAB R2016 provides a rich set of functions to work with string arrays. In this problem, you will be given two string arrays o...

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

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

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

7 years ago

Answered
Remove/Assign products
Hi, maybe your computer cannot connect to MathWorks license server due to firewall. See the answers here: http://www.mathw...

7 years ago | 0

Answered
How to install MATLAB 2016b noninteractively (silent) on macOS
Hi, according to the documentation there should be instructions in the installer properties file template: "For information a...

7 years ago | 0

Answered
2016b - How to install both DVDs silently?
Hi, there is an answer here: http://www.mathworks.com/matlabcentral/answers/307353 You should download products (not ISO) ...

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

7 years ago

Solved


Find all elements less than 0 or greater than 10 and replace them with NaN
Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

8 years ago

Solved


Is my wife right?
Regardless of input, output the string 'yes'.

8 years ago

Channel


Channel 73834

8 years ago

Solved


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

8 years ago

Solved


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

8 years ago

Solved


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

8 years ago

Solved


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

8 years ago