回答済み
Time series graph with best fit line
Great, always when i try to help people here i learn a lot ;-) The files are attached. After converting to the correct dat...

約8年 前 | 0

| 採用済み

回答済み
could anyone help me to fix the issue
See attached file... Did you use: rng = 84030 ??? try brackets like shown: rng (84030) Best regards St...

約8年 前 | 0

回答済み
could anyone help me to fix the issue
rng (84030) randi (4,4,1) Gives your result - like all other numbers Walter told you... rng (767) randi (7,4,1) G...

約8年 前 | 0

回答済み
Time series graph with best fit line
Hi, it took a little time to convert your .txt file to something matlab really could create a datetime-dataformat from ;-). ...

約8年 前 | 0

回答済み
Time series graph with best fit line
Hi, how do you convert this data to datetime format in matlab? is the start of this file 30-Nov-1982? best regards ...

約8年 前 | 0

回答済み
Time series graph with best fit line
Hi, insert: ax = gca; ax.XAxis.TickLabelFormat = 'yyyy'; after your plot command. See also here for further in...

約8年 前 | 0

回答済み
Can I obtain results with more significant figures after the decimal place while using 'deval' in a bvp4c solver?
Hi, typing: format long Lets you see more digits. This operation only affects the display and not the calculation. ...

約8年 前 | 1

| 採用済み

回答済み
some question about optimization
Hi, try this command: W = A/S Here is an example for small data: >> A = [1 2; 3 5; 3 8; 2 7; 8 11] A ...

約8年 前 | 0

回答済み
how to solve this question?
Hi, maybe you should start reading: <https://de.mathworks.com/help/matlab/examples/basic-matrix-operations.html?searchHigh...

約8年 前 | 0

回答済み
Multiplying By 10000 vs 10^4
See comments, when working with random numbers you have to understand, that everytime you use the command new random numbers wil...

約8年 前 | 0

回答済み
return a matrix from a MATLAB mfile(function) to python uing MATLAB API
Hi again, see here - there you learn about the datatypes: *from matlab to python:* <https://de.mathworks.com/help/matla...

約8年 前 | 0

回答済み
return a matrix from a MATLAB mfile(function) to python uing MATLAB API
Hi, everything you do is working fine. I used your matlab code: function [e,f,g] = triarea(c,d) e = 0.5*(c.* d); ...

約8年 前 | 0

| 採用済み

回答済み
Can anyone tell me that how to solve linear non homogeneous equations to find the values of v?
Hi, you can solve this system with: U\[0 0 0]' where [0 0 0]' represents your RHS. The determinant of your coefficie...

約8年 前 | 0

回答済み
Double sum of a product
Hi, Use a nested for-loop for this. Outer loop counts up from i=1 to N and the inner loop from n=1 to N. for n = 1:N ...

約8年 前 | 0

| 採用済み

回答済み
Boolean style switch-case statements
Hi, See here: <https://de.mathworks.com/help/matlab/ref/switch.html?s_tid=doc_ta> There you'll find a lot of informatio...

約8年 前 | 0

| 採用済み

解決済み


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

約8年 前

回答済み
Looking for generic code for Branch & Bound or Branch & Cut to solve MINLP problems
Hi. I think you missunderstood the idea of the forum here. I guess you will not find someone here who is doing the whole work...

約8年 前 | 0

回答済み
matlab Home licence query
Hi, I have home license for several packages too. Good choice! You can switch the license to another computer. If i rememb...

約8年 前 | 1

| 採用済み

回答済み
How can I create a smooth curve that fits my data ?
Hi, thats nice so far. You did it with the curve fitting toolbox i guess (?) Try the <https://de.mathworks.com/help/matlab...

約8年 前 | 0

| 採用済み

回答済み
I am trying to display error messages if the R value or T values hold a negative value. I got this code using the curve fitting toolbox to generate this function.
Hi, is it that what you meant: function [C] = thermcalib(R, T) % Number of input arguments is 2? if not error ...

約8年 前 | 0

問題


The answer to life the universe and everything
Write a function that gives the answer to life the universe and everything to every input except the input is 42. In this case t...

約8年 前 | 1 | 72 個のソルバー

解決済み


Getting logical indexes
This is a basic MATLAB operation. It is for instructional purposes. --- Logical indexing works like this. thresh = 4...

約8年 前

解決済み


Back to basics 6 - Column Vector
Covering some basic topics I haven't seen elsewhere on Cody. Given an input vector, output true or false whether it is a colu...

約8年 前

解決済み


Number of Horns on a unicorn!
Calculate the number of horns on a *unicorn*! And I'm talking about a unicorn with not more than one horn on it!

約8年 前

解決済み


Output any real number that is neither positive nor negative
Output any real number that is neither positive nor negative

約8年 前

解決済み


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

約8年 前

解決済み


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年 前

回答済み
Just switched from using Matlab 2014b to 2018a. I can't locate the "Add New Shortcut" icon anywhere. Does it still exist? If so, where can I find it?
Hi, see <https://de.mathworks.com/help/matlab/matlab_env/create-matlab-favorites-to-rerun-commands.html?searchHighlight=Create%2...

約8年 前 | 0

回答済み
FFT with non sinusoidal signal
Hello, When the code starts, you run the following command: clear all This command deletes your data in the Matla...

約8年 前 | 0

回答済み
I want to make random values that satisfies specific conditions. But I have a problem. help me please.
Hi, you generate numbers: _-1 < a < 0_ and _2 < b < 3_ your selection criterion for c is: if a(i,1) + b(j,1) < 0 ...

約8年 前 | 0

| 採用済み

さらに読み込む