Answered
How can I replace variables in a matrix with scalars contained in a vector?
syms x2 y2 x3 y3 theta3 x4 y4 theta4 Psi u L1 = 0.7; L2 = 0.15; L3 = 1; L4 = 0.46; theta2 = 120*((2*pi)/360); u =...

8 years ago | 0

Answered
Matlab support for raspberry pi3 b+
think its not available yet: <https://www.mathworks.com/matlabcentral/answers/400088-does-matlab-support-raspberry-pi-3-b-h...

8 years ago | 0

Answered
download error with matlab
<https://www.mathworks.com/matlabcentral/answers/418763-error-installing-matlab2018b-on-window-the-following-error-was-detected-...

8 years ago | 0

Answered
sawtooth plot with specific x ,y limits
T = 10*(1/50); Fs = 1000; dt = 1/Fs; t = 0:dt:T-dt; x = sawtooth(2*pi*50*t); plot(t,x) xlim([0 0.2]) y...

8 years ago | 1

| accepted

Answered
How to change Korean version of Matlab into English one?
<https://www.mathworks.com/matlabcentral/answers/116530-how-do-i-change-the-matlab-user-interface-from-korean-to-english-in-r201...

8 years ago | 0

Answered
How do i generate a random set of numbers of -1s and 1s without getting any 0s?
a=nonzeros((randi([-1:2:1],[1000,1])))

8 years ago | 1

| accepted

Answered
How can I generate a matrix of symbolic functions, whose size varies depending on the input values?
It’s highly discouraged. Please read <https://www.mathworks.com/matlabcentral/answers/304528-tutorial-why-variables-should-no...

8 years ago | 0

| accepted

Answered
can someone help me determine what's wrong with my code?
f=@(x) (x.^3-3.*x.^2-4.*x+12)./(x-2) ; % Insert function f here g=@(x) (x.^2-4.*x)./abs(x-4) ; % Insert function g here ...

8 years ago | 0

| accepted

Answered
use google map in guide
<https://www.mathworks.com/matlabcentral/answers/160221-getting-the-exact-coordinates-of-some-location-on-a-map-longitude-latitu...

8 years ago | 0

Answered
how many computers can I install matlab 2018b student version on?
Only you can use Matlab in one installed device with your student license See <https://www.mathworks.com/matlabcentral/ans...

8 years ago | 0

| accepted

Answered
I am getting an error for the below eqn . I wrote coding in matlab function (user defined function in simulink),so please help with this.I have also attached my simulink model.
function y = fcn(h,u) A = [0 1;-1 1]; B = [0;1]; N = 300; y = zeros(1,500); t = 0:25 for i = 1:N y(i)= (...

8 years ago | 0

Answered
How can I display(output) ONLY ANS but math lab display all temprorly defined variables how can I suppress them?
Put semicolons at the end for all the statements except m

8 years ago | 0

Answered
how to convert character data to double?
Use datenum() or datetime() Example: DateString = ['01/04/2016';'02/04/2016';'03/04/2016';'04/04/2016';'20/05/2...

8 years ago | 0

| accepted

Answered
partial derivations on axis
You should probably know to calculate partial derivatives which is one dimensional(meaning moving along a certain direction). Ma...

8 years ago | 0

| accepted

Answered
free activation key for R2018b
You can’t get a free activation key because matlab doesn’t offer one instead you can use trial version which is valid for 30days...

8 years ago | 1

| accepted

Answered
Make the subfolders name in output folder the same input folder
See <https://www.mathworks.com/help/matlab/ref/movefile.html *movefile()*>

8 years ago | 0

Answered
Can someone help me write this into a series?
You can tell whether the series diverges or converges by the below syms r n SERIES=symsum((2*n)*r^(2*n+1),n,1,inf); ...

8 years ago | 0

Answered
Invalid expression when i click run
t=0; theta0=pi/3; %error was NOT here L=.5; lam=6; for n=1:161 t(n+1) =t(n)+.02; theta(n)=theta0*...

8 years ago | 0

| accepted

Answered
Rewrite a symbolic function in terms of a defined function
syms z f=1/(1+exp(-z)) df=diff(f) isolate(df==1,f)

8 years ago | 0

Answered
How do I select non-adjacent columns in a table?
T = readtable('carsdotcom.xlsx'); %EDITED T = removevars(T,{'Chevy_1500'})

8 years ago | 1

| accepted

Answered
How can I rehosting the license manager
<https://www.mathworks.com/matlabcentral/answers/105860-how-do-i-install-or-update-the-matlab-license-manager#answer_115007>

8 years ago | 0

Answered
Why is my plot not showing anything?
for ii=1:n %EDITED if x(ii)<=a v(ii)=((-q*b*x(ii)^2)/(12*E*I))*(3*L+3*a-2*x(ii)); vi(ii)=...

8 years ago | 0

| accepted

Answered
Problem with MATLAB running
<https://www.mathworks.com/matlabcentral/answers/99067-why-do-i-receive-license-manager-error-9> <https://www.mathworks.com...

8 years ago | 0

| accepted

Answered
Plotting output for a range of numbers
t = 0 : 0.1 : 10; for i = 1:numel(t) if t(i)<=3 % eq1 eq1(i)=t(i).^2; %example elseif %eq2 eq2(i...

8 years ago | 0

Answered
multiplying all elements by fellow elements
A=[1 2;4 3] %edited [m,n]=size(A); result=cell(1,m); for i = 1:m result{i}=[A(1,i).*(A)]; end result=ho...

8 years ago | 1

| accepted

Answered
Reading different columns from excel in Matlab
abs = 'icv bac abs fluor 250918.csv'; [num,~,~] = xlsread(abs); data = num; [rows, columns] = size(data); for col ...

8 years ago | 1

Answered
Issue converting symbolic function to double array
%%% Definition of Key Vars %%% t = 1:1:100 m = 1.0 n = 2 g = 1 %%% Equations %%% q = @(t...

8 years ago | 0

Answered
Merge table with different rows
You can't merge table with different number of size dimensions , use structure instead

8 years ago | 2

Answered
Proper rational check with symbols
syms x assume(x,'real') q= x/(x+1) [n,d]=numden(q) if subs(n,x,10)<subs(d,x,10) %substitute any number ...

8 years ago | 1

Load more