Gelöst


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

mehr als 4 Jahre vor

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

mehr als 4 Jahre vor | 0

| akzeptiert

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

mehr als 4 Jahre vor | 0

| akzeptiert

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

mehr als 4 Jahre vor | 0

| akzeptiert

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

mehr als 4 Jahre vor | 2

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

mehr als 4 Jahre vor | 4

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

mehr als 5 Jahre vor | 0

Beantwortet
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

mehr als 5 Jahre vor | 4

| akzeptiert

Beantwortet
Formula for calculating marginal risk contributions (video MATLAB for Advanced Portfolio Construction and Stock Selection Models)
Hi, correct formula is in slide number 7.

mehr als 6 Jahre vor | 0

| akzeptiert

Beantwortet
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

fast 7 Jahre vor | 0

Gelöst


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

etwa 7 Jahre vor

Gelöst


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

mehr als 7 Jahre vor

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

mehr als 7 Jahre vor

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

mehr als 7 Jahre vor

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

mehr als 7 Jahre vor | 0

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

mehr als 7 Jahre vor | 0

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

mehr als 7 Jahre vor | 0

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

mehr als 7 Jahre vor

Gelöst


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

etwa 8 Jahre vor

Gelöst


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

etwa 8 Jahre vor

Kanal


Channel 73834

mehr als 8 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.

mehr als 8 Jahre vor

Gelöst


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

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

mehr als 8 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...

mehr als 8 Jahre vor