Answered
is that really necessary to measure and put the weakness of the thesis if it is not scope of the work?
This is not a MATLAB question, so it isn't really appropriate here. In my opinion, the answer is Yes, you need to discuss perfo...

3 years ago | 0

| accepted

Answered
Is my mathematical problem to hard for single GPU computation?
You have one GPU. When you try to use that one GPU from multiple workers, then each time a different worker gets control, it has...

3 years ago | 0

| accepted

Answered
Is it possible to implement a GUI in a Matlab script?
see "App Designer" for a more modern interface, or see "GUIDE" for an older interface (that has much better performance)

3 years ago | 0

Answered
This can be solved
for x=value if x is in a certain range y = appropriate calculation elseif x is in a different range ...

3 years ago | 0

Answered
Isn't it dangerous to allow Comma-Separated-List functionality in indexed assignments?
Consider x = rand(1,10); y = power(max(x),2) %also known as y = max(x).^2 How many outputs does max(x) potentially have? Tw...

3 years ago | 0

Answered
solving a matrix equation
You have 13 equations that you are trying to solve for 12 variables. tic syms thdd1 thdd2 thdd3 q1 q2 q3 xdd ydd zdd thddo1 th...

3 years ago | 0

Answered
Dual Parfor from different scripts
https://www.mathworks.com/help/parallel-computing/nested-parfor-loops-and-for-loops.html it will be accepted but will execute ...

3 years ago | 1

| accepted

Answered
How to solve NLP Optimization problem ?
Please leave the question open as the volunteers have put considerable effort into it.

3 years ago | 0

Answered
Where is the User's Manual?
https://www.mathworks.com/help/sps/powersys/ug/thyristor-based-hvdc-link.html appears to be the source of this example, but the...

3 years ago | 0

Answered
Global fitting of two different function with shared parameters on two different data sets
your T is a vector. Your function involves an expression of T, then ^(1/2) . With T being nonscalar, the ^ operator is the Matri...

3 years ago | 0

| accepted

Answered
How to pass whole excel sheet to a MATLAB function
You cannot use From Workspace for this purpose. From Workspace is for creating a time-dependent signal. The first column is trea...

3 years ago | 0

| accepted

Answered
how to pass data from a code on Arduino IDE to matlab
Use https://arduinogetstarted.com/reference/serial-println to convert to text to send. Or https://arduinogetstarted.com/referenc...

3 years ago | 0

| accepted

Answered
two data files to plot and compare
readmatrix the files. Then imshowpair -- probably with 'joint' scaling.

3 years ago | 0

| accepted

Answered
Error in Build,deploy android app model using Accelerometer sensor.
Is there a particular reason your last line is not peakno = numel(peaks); ?? I would suggest that you pre-allocate peaks and...

3 years ago | 0

Answered
How to extract specific data from a .txt file
filename = 'FILE.TXT'; S = fileread(filename); XY = str2double(regexp(S, '(?<=F[XY]= )\S+', 'match'))

3 years ago | 2

Answered
cell2table: Preserve cell type when column contains numbers and strings
x={ 0 'Infinity' 63.5010 "Infinity" 0 8.5239 63.5010 8.5239 0 }; T =...

3 years ago | 0

| accepted

Answered
How to read the result of fprintf
See evalc() or sometimes diary() But you would typically be better off using sprintf or compose

3 years ago | 0

| accepted

Answered
Error when generating a gif
Reminder: longitude is *y* data and latitude is *x* data but surf requires x then y

3 years ago | 0

| accepted

Answered
Fail to parametrize InitDampling with optimoptions
https://www.mathworks.com/help/optim/ug/view-options.html it is a hidden option

3 years ago | 0

Answered
How does matlab choose the order expressions appear in a symbolic equation? Can I change the order?
the order is not documented, and can involve subtle factors. It can be difficult to figure out the logic. For example in divi...

3 years ago | 0

| accepted

Answered
Files added to path won't run unless I rename them first.
How are you creating the new script? If you are creating it outside of MATLAB then check Preferences -> Editor/Debugger -> Auto...

3 years ago | 0

Answered
Remove Whitespace & Text From Cell
See https://www.mathworks.com/help/matlab/ref/matlab.io.text.delimitedtextimportoptions.setvaropts.html#d124e755396 for the impo...

3 years ago | 0

Answered
Is there any problem with secant method in this code as i am not getting the required plot
Your odes are generating infinite results early on. You are getting NaN for all c values. WIth the below small modification to ...

3 years ago | 0

Answered
Help on simplifying trigonometric equations
syms c1 c2 k1 k2 l1 l2 x1 x2 eqns = [k1*sin(c1)+k2*sin(c2-c1) == l1*cos(x1) - l2*cos(x1+x2) k2*cos(c2-c1)-k1*cos(c1) =...

3 years ago | 0

| accepted

Answered
Stuck in exponential notation format
format long g for Percentfailtemp = [0.011 0.11 1.1 11 110 110.234 100*(1-eps)] fprintf('Failed due to temperature %0.1d\n...

3 years ago | 1

| accepted

Answered
How to display square root symbol instead of decimal.
sqrt(sym(5)) This requires the Symbolic Toolbox. Also, display of the square root symbol itself instead of 5^(1/2) requires th...

3 years ago | 1

| accepted

Answered
how to convert mat file of impulse signal to wavefile?
fs = 1000; t = 0 : 1/fs : 10; impulse = t==2; audiowrite('impulse.wav', double(impulse), fs);

3 years ago | 0

Answered
Limits of polar plots axes
You are using polar() which is the older function that uses cartesian axes. It is difficult to customize. We would normally rec...

3 years ago | 0

| accepted

Answered
Isolate horizonal part of curve
Declare your horizontal cutoff to be the place where abs() of the gradient is less than some threshold. If necessary, low-pass f...

3 years ago | 1

Answered
Difference between solve result
When you solve() and you do not specify the names of variables to solve for, the solve() uses symvar() and takes as many variabl...

3 years ago | 1

| accepted

Load more