Community Profile

photo

VBBV


PEC

Last seen: Today Con actividad desde 2017

Followers: 0   Following: 2

Contacto

MATLAB enthusiast , Mechanical engineer (MeMe) :-)

Estadísticas

All
  • MATLAB Central Treasure Hunt Finisher
  • 36 Month Streak
  • Guiding Light
  • CUP Challenge Master
  • Creator
  • Personal Best Downloads Level 2
  • First Review
  • Introduction to MATLAB Master
  • Commenter
  • Community Group Solver
  • Thankful Level 5
  • Knowledgeable Level 5

Ver insignias

Feeds

Respondida
Index exceeds number of array elements. Index must not exceed 8. HELP
Q = [beta alpha lambda vac d gamma c m]; The size of the vector is 1x8

alrededor de 24 horas hace | 0

Respondida
Extract certain values in .mat file
data= [-0.13793 -0.114746 -0.204773 -0.224304 -0.181274 -0.192566 -0.159912 -0.174866 -0.134888 -0.148926] data(2:2:end) dat...

2 días hace | 0

Respondida
Function definitions are not permitted in this context.
Rename the file *ok.m* to *uniform_pcm.m* and save file. Type the name of function from command window (giving input arguments)...

2 días hace | 0

Respondida
Create a solid line instead of single points in the plot
If the plot function is inside a loop, you could put it outside the loop as shown below, in order to plot solid line plot(vR(1,...

2 días hace | 0

Respondida
Plotting a diagram and getting some errors
There is no function called plotv in Matlab (or it must have been removed in new release), Please refer to the following link f...

3 días hace | 0

| aceptada

Respondida
fsolve stopped because the last step was ineffective
The problem seems to occur if you have the same initial conditions for all the angles. Try giving different initial conditions/...

3 días hace | 1

Respondida
summation of aij & i, j dependent function in matlab
% % initial contraction from flow, formula from diagram 4.10 % % %given test values Re_0=60.46; f0=1; f1=2.7225; % ind=...

4 días hace | 0

| aceptada

Respondida
Why am I receiving a "Too many output arguments" error on this particular code?
Load the data and assign to a variable. When you load a MAT file using load function, it returns a struct with different data ...

4 días hace | 1

| aceptada

Respondida
Keeping getting gradient error and no figure 2
%function [] =ZacharyC1 clear all clc U=4.7; m=6; a=0.5; [X,Y]=meshgrid (linspace(-2,2,100),linspace(-2,2,100)); r=sqrt...

4 días hace | 0

Respondida
Why are my error bars multicoloured with no line?
x = 20:1:25; y = [1.75 1.78 1.81 1.85 1.9 1.95]; err = repmat(0.1,length(x),1); errorbar(x,y,err)

5 días hace | 2

Respondida
comparison number on interval
px = 0; py = 1000; pz = 0; if (-524 <= px) & (px <= 524) & (-524 <= py) & (py <= 524) & (0 <= pz) & (pz <= 524) px ...

5 días hace | 0

| aceptada

Respondida
Function with for loop doesn't always work
With option as rev, it wont work, since the variable deg is undefined option = 'rev' % with this option it wont if strcmp...

5 días hace | 0

Respondida
How can i put the values in gradient of a function obtained through the gradient command?
@RADHIKA GOUR, you can use subs and plug-in the values for p1,p2,p3, p4 variables. TT=[1 1 1 1]; noise = randi([2 10]); sym...

6 días hace | 0

Respondida
how can i stop this while loop? it doesn;t finish
Another way is to use isequal function if isequal((out.soc_fin(end)-soc_target),1.5) break end

7 días hace | 0

Respondida
Turning a double into a scalar
close all; clear all; clc gamma = 1.4; mach = 2.5; theta_a = 0:.1:30; p1 = .2; t1 = 300; t_0 = 675; p_0= 3.417; vm2 = (t...

8 días hace | 1

| aceptada

Respondida
How to join variables in the title of plot?
title(['PCA scores', num2str(method), num2str(par)]);

8 días hace | 0

Respondida
Subs function doesn't fully replace the values
syms X Y Z W q = [X, Y, Z, W]; q_1 = [1, 2, 3, 4]; phi = [(2*X-W)^2 X^2-2*Y Y*sin(Z)]; J = jacobian(phi,q); disp(J); J_1 =...

10 días hace | 0

| aceptada

Respondida
How to display functions with 2 outputs
a = 212% input('Please enter a number '); disp("Select what conversion you want to do:"); disp('1. Celsius to Fahrenhiet') co...

10 días hace | 1

| aceptada

Respondida
plot legend shows wrong linespec
d = load('data.mat') %figure plot(d.t,repmat(d.molTot,length(d.t),1),'-rx',d.t,d.molGas,'-bo'); legend('a','b')

11 días hace | 1

| aceptada

Respondida
for loops within while loop
while t1< 2 & h2 >= 0 % your code end You could put both conditions together as above using single while loop.

11 días hace | 0

Respondida
How to Generate Subscripted Arrays in Live Scripts
\left(\begin{array}{ccc} z_{1} & z_{2} & z_{3} \end{array}\right)

13 días hace | 0

Respondida
I am having trouble trying to maintain the loop
@Yogesh when array sizes dont match , those errors occur. check the array dimensions in for loop Nt=161224; dt=6e-12; T=9.673...

17 días hace | 0

Respondida
how to create a function to solve a series of equitions?
if you have symbolic toolbox then you can define it inside the function as function [a,b,c] = EqSol(var1,var2,var3,var4,var5,va...

18 días hace | 0

| aceptada

Respondida
How to Fix "Warning: Colon operands must be real scalars" Warning
for k = 1:numel(ply_nums_range) ply_nums = ply_nums_range(k); % for i = 1:length(data) b = data(...

19 días hace | 0

Respondida
Error using symsum and arrays for summing over array elements
trial = symsum( array(double(q)).*q.^2 , q,2,7)

20 días hace | 0

| aceptada

Pregunta


Why is Run button not visible ?
Look at the snapshot attached Does anyone know why the run button is not visible this way?

20 días hace | 1 respuesta | 0

1

respuesta

Respondida
'InitalLearnRate' is not an option for solver 'sgdm'.
options = trainingOptions('sgdm', ... 'MiniBatchSize',128, ... 'MaxEpochs',1, ... 'InitialLearn...

23 días hace | 2

| aceptada

Respondida
ideal-gas specific heats of various common gases function of temperature
Hi @재훈 if you consider a change in sign for the last term it would result in 1.005 M = 28.9; % assune T = 273.15; a=28.11;...

24 días hace | 1

| aceptada

Respondida
Calculating a Fourier series with MATLAB manually problem
clear all close all hidden clc syms t % time syms n % number of terms to calculate the sum to syms T % period syms a_n(t, ...

27 días hace | 0

Respondida
Square wave with randomly varying frequency
To make it appear square, you need to delete the 2*pi part in the square function, and use randi instead of rand for scalar ...

27 días hace | 0

Cargar más