Questions tagged as 'matlab'

1
answer

Save values with the "for"

My question: How can I save the 'for' command values of objects that have an area greater than 50? I need to save the numbers of these objects because later I will calculate the distance between two of them, would anyone know how to store tho...
asked by 10.08.2017 / 18:57
0
answers

The handle function is not converting - matlab

Hello, I'm getting this error:    Conversion to function_handle from double is not possible. I already looked for the error and tried to change the code but without success. Can you help? A=[99.23;100.05;91;107.71;104.1]; B=[3441 344...
asked by 17.07.2017 / 13:02
2
answers

Chance of possibility in c, c ++ or matlab

I need a program that gives me the possibilities of the following equation: x*y = 1700/57 Since x and y are real positives resulting from two integers ("a" and "b") different from 1 to 300 . I tried but...
asked by 04.10.2017 / 02:56
2
answers

how to import excel data into matlab

I want to import excel data into matlab, I've already tried importdata, but there are some things that do not fit right. I get "NaN" instead of numbers in the array     
asked by 01.06.2015 / 23:33
2
answers

Function similar to matlabfunction () of MATLAB in R

Is there a function similar to matlabFunction() of MATLAB? Or how to do this in R ? The function in MATLAB. syms x dados = inputdlg({'P(x): ', 'Q(x): ', 'R(x): ', 'N: '},'Dados'); P = matlabFunction(sym(dados{1}),'vars',x,'file...
asked by 29.10.2014 / 02:44
1
answer

How to create a table in MATLAB?

I'm doing a job that I want to create the following table: I have tried several commands like table and readtable and it always returns me the following message: Undefined function 'readtable' for input arguments of type 'char'. Undef...
asked by 16.07.2015 / 18:10
1
answer

How to read a spreadsheet with date and time in Matlab?

How do I import data from an excel sheet containing date and time (eg 10/22/14 22:45:10) in Matlab?     
asked by 09.10.2014 / 04:08
2
answers

Save txt file in Matlab

Good, I have a program that runs in a loop and I need to save the results of each loop . Within the loop I call various functions and in each function I need to save the results. I have used in each function something of the type: fid...
asked by 18.05.2018 / 16:30
1
answer

Add a plot and image in matlab

I am performing a medical image processing job that wants to isolate the lung zone and put a contour. I have isolated the area corresponding to the lungs and created a plot with the contours. My question is how can I merge the image with the plo...
asked by 27.05.2015 / 19:04
0
answers

Neural networks: how to adjust a line in predicted values [closed]

I do not really know this world of artificial intelligence, but I have a set of data that tends to be a linear function, and one thing I needed was to find the angular coefficient of the line that fits that data. Using linear regression, I wa...
asked by 31.12.2018 / 15:17