Publisher to PDF won't work, but .doc and others do
Reddit » Matlab
by /u/vlb123
3d ago
Can someone please help me with this? I can't publish my code to be a pdf. However, I can do it as an .html and .doc files. submitted by /u/vlb123 [visit reddit] [comments ..read more
Visit website
How do I transform warnings in errors?
Reddit » Matlab
by /u/j1nbe
3d ago
So, in my problem I have to optimize some parameters of a dynamic system where to calculate the cost function I use the ODE function, however during the execution of the problem I end up receiving the following warning: ​ Warning: Failure at t= 1.900000000000001e+00. Unable to meet integration tolerances without reducing the step size below the smallest value allowed ( 3.552713678800501e-15) at time t. ​ I'm using a try-catch function, but apparently it doesn't work with warnings, what other solution I can try? submitted by /u/j1nbe [visit reddit] [comments ..read more
Visit website
Need Help With Limiter
Reddit » Matlab
by /u/Rare-Elderberry9249
3d ago
%% Load data from Excel Data = readtable('SolarPanelData - SS24.csv'); % Read the data date = table2array(Data(:, 1)); hour = table2array(Data(:, 2)); atmp = table2array(Data(:, 3)); srad = table2array(Data(:, 4)); Huse = table2array(Data(:, 5)); % Reform the date to separate columns for years, months, days reform_date = datevec(date); % Create an array for the hours of every day n = 0; h = zeros(length(srad), 1); while n < length(srad) if n < length(srad) - 20 h(n + 1:n + 24) = 1:24; else h(n + 1:n + 20) = 1:20; end n = n + 24; end % Allocate the hours to column 4 in the reform_date t ..read more
Visit website
Begginers course for free / help with external functions
Reddit » Matlab
by /u/i_zzza
3d ago
hi guys, im a neuroscience student and the research in doing in college uses matlab to remotely control a specific machine and its parameters. My professor gave me an old script and i need to enhance it. The script uses a external functions. I got a new one that is better. I need to substitute the variables from the old external function and use the variables from the new external function. The only problem is that I never used matlab before. Is there a website or a good youtube playlist that could help me? Thanks a lot! (ps: i know a little bit about python if it helps with something) submi ..read more
Visit website
Manhattan distance using linprog
Reddit » Matlab
by /u/whitemantryingtohelp
3d ago
Hello, I'm trying to solve the following problem. ​ My code is the following: n = size(h,2); m = size(s,2); f3 =[zeros(1, n+m), 1]; A3 = []; b3 = []; Aeq3 = [ones(1, n), zeros(1, m+1); zeros(1, n), ones(1, m), 0]; beq3 = [1;1]; LB3 =[zeros(1, n+m), 0]; UB3 =[]; [Res3,fval3]=linprog(f3,A3,b3,Aeq3,beq3,LB3,UB3); % Determine the (x,y) coords for the % point pp in conv hull of points h and % point qq in conv hull of points s % for the chosen distance pp=h*Res3(1:n); qq=s*Res3(n+1:n+m); plot(pp(1),pp(2),'b*') plot(qq(1),qq(2),'b*') line([pp(1) qq(1)],[pp(2) qq(2)],'Color','b') This solves the ..read more
Visit website
Simulink satellite toolbox question
Reddit » Matlab
by /u/Pleasant_Tumbleweed3
3d ago
How to create our own satellite with custom components instead of using inbuilt cube sat. And how to add this satellite in satellite scenario submitted by /u/Pleasant_Tumbleweed3 [visit reddit] [comments ..read more
Visit website
Trying to calculate capacitance with matlab simulink.
Reddit » Matlab
by /u/moff_4
3d ago
Hi all, still I don't figure out how to measure the capacitance with simulink :C, I want just measure capacitance in parallel and capacitance in serie... submitted by /u/moff_4 [visit reddit] [comments ..read more
Visit website
MATLAB in Electronic Circuit Design
Reddit » Matlab
by /u/45CMDAMARLI
3d ago
Hey, I've been building analog circuits in LTSpice so far however I encountered the simulink circuit simulation onramp part and I was wondering which one is mostly used by companies ? Thanks for reading!! submitted by /u/45CMDAMARLI [visit reddit] [comments ..read more
Visit website
Is anyone able to help me here? I've input all the values, including the initial condition of 0.1m/s on the mass, however whenever I try to run it through the scope it spits out the error message, not quite sure where I'm going wrong.
Reddit » Matlab
by /u/Lucky-Profile-2428
3d ago
submitted by /u/Lucky-Profile-2428 [visit reddit] [comments ..read more
Visit website
Syntax error, please help
Reddit » Matlab
by /u/Physical-Solution773
3d ago
Hi everyone I've been trying to run a simulink model of a synchronous generator (transient stability enhancement using resistive braking) and I am stuck on this syntax error since the past one month. Also my eyesight is weak and I cant afford glasses right now so I'm not able to exactly pinpoint if I'm missing some brackets. Please help. The expression is: (((-Rs(1+u(6)u(8))+(u(7)Xqp)u(8)-u(6))(u(7)u(8))+((1+u(6)u(8))Xqp+(u(7)Rs)u(8)+u(7))(1+u(6)u(8)))u(1)+(-(-Rs(1+u(6)u(8))+(u(7)Xqp)u(8)-u(6))(1+u(6)u(8))+((1+u(6)u(8))Xqp+(u(7)Rs)u(8)+u(7))(u(7)u(8)))u(2)+(-Rs(1+u(6)u(8))+(u(7)Xqp)u(8)-u(6 ..read more
Visit website

Follow Reddit » Matlab on FeedSpot

Continue with Google
Continue with Apple
OR