Respondida
How to split a large image into many small images?
Here is a nice discussion on how to split images with nlfilter() suggested by Rik: https://www.mathworks.com/matlabcentral/an...

alrededor de 5 años hace | 0

Respondida
Fitting a Grafted Distribution
Maybe chop off the long tails on both sides and then perform the calcs even if that influences on the accuracy a bit.

alrededor de 5 años hace | 0

Respondida
MatLab crashes when I insert a large dataset that I am assigning to a matrix
Probably it is related to allocated swap memory for matlab. You can play with tall() to fix this issue. Here is a nice help doc...

alrededor de 5 años hace | 0

Respondida
For loop every combination
Go over this help documentation and will understand how and what to do with [for ... end] loop iteration https://www.mathworks....

alrededor de 5 años hace | 0

Respondida
Attaching a simulink model, can anyone tell the equations governing ?
It is quite simple as follows: 2/3*(va*cos(theta)+vb*cos(theta-2*pi/3)+vc*cos(theta+2*pi/3))=vd -2/3*(va*sin(theta)+vb*sin(the...

alrededor de 5 años hace | 0

| aceptada

Respondida
Plot - Delete grid lines between yticks
grid off % The rest you can check from Property Inspector of Figure

alrededor de 5 años hace | 0

| aceptada

Resuelto


Project Euler: Problem 3, Largest prime factor
The prime factors of 13195 are 5, 7, 13 and 29. What is the largest prime factor of the number being input, input might be ui...

alrededor de 5 años hace

Resuelto


How many days in a month?
Return the number of days in a given month in 2017. If the input is not a valid month number, return -1. Examples: Input...

alrededor de 5 años hace

Resuelto


Separate even from odd numbers in a vector - with a loop
*Using a loop*, rearrange a vector of integers such that the odd numbers appear at the beginning, and even numbers at the end. T...

alrededor de 5 años hace

Resuelto


03 - Matrix Variables 2
Make the following variable: <<http://samle.dk/STTBDP/Assignment1_3b.png>> A 9x9 matrix of zeros, but with the following v...

alrededor de 5 años hace

Resuelto


Find the nearest prime number
Happy 5th birthday, Cody! Since 5 is a prime number, let's have some fun looking for other prime numbers. Given a positive in...

alrededor de 5 años hace

Resuelto


Octoberfest festival
A group of students decided to visit Octoberfest festival. First they ordered one beer, then after half-hour they taken one more...

alrededor de 5 años hace

Respondida
strange for useing ' legend'
With this syntax on legend settings, it is working ok. close all; clear all; ... ... titlestr=''; xLabelStr='test1';...

alrededor de 5 años hace | 0

Respondida
Unit delay for adaptive filter!
(1) Simulink has a unit delay block that can be employed to resolve this issue in Simulink environment. (2) Help documentation ...

alrededor de 5 años hace | 0

Respondida
Remove Delaunay triangles
These help documentations would give good insights on this: https://www.mathworks.com/help/matlab/math/creating-and-editing-...

alrededor de 5 años hace | 0

Respondida
which one of these is the right sol.? and let me know my mistakes please ..
Both gives the same results, if you fix in the second one the time boundary value for u1. ... A=3; B=4; C=4; t= 0: 0.02:5; ...

alrededor de 5 años hace | 0

Respondida
How to find the position of input from function
x = 5:1:9; y = 6:1:10; z = cos(x)'* sin(y); z(4,3) % Row 4 & Column 3 x(4) % Row 4 because of cos(x)'* sin...

alrededor de 5 años hace | 0

| aceptada

Respondida
How to read import csv file with required header while importing reading csv file?
Here is the solution - data range specified and Variable names set true: DATA1 = readtable('WT_201120.csv', 'Range','A38:AZ6684...

alrededor de 5 años hace | 0

| aceptada

Respondida
Compare two matrix in matlab
Easy and fast efficient solution is Logical Indexing, e.g.: IND = Data1==Data2 D1 = Data1(IND); D2 = Data2(IND); You can als...

alrededor de 5 años hace | 0

Respondida
Roots of a polynomial with variables
One of the viable ways to solve such polynomial type equations is to setp up the solution space within which you are seeking the...

alrededor de 5 años hace | 0

Respondida
Which of these solutions is correct for a system of differential equations? And why do they give different results?
In this one, you have inserted a wrong sign: function dydt = fSystem(t, y, beta1, alpha2, beta2, p, psi, T) f2 = -alpha2*y(2)+...

alrededor de 5 años hace | 0

| aceptada

Respondida
Modal analysis of Vibration Data Using FFT
In FFT based freq response analysis, 150Hz sampling isn't appropriate for your data (6000 rpm = 100 Hz data). You should have co...

alrededor de 5 años hace | 0

Respondida
trigger when the clock change the hour
You may consider (1) Simulink block: https://www.mathworks.com/help/sldrt/ref/realtimesync.html Also, (2) this RTC fcn: https:...

alrededor de 5 años hace | 0

Respondida
How to specify index variable name of for loop programmatically?
Note that dynamically changing the variable names is not recommended practice. There are some points to be fixed in your code: ...

alrededor de 5 años hace | 0

Respondida
Can anyone share MR damper model for 2 DOF suspension model?
Here is a paper describing MR model in a few different versions built in Simulink environment. https://www.researchgate.net/pub...

alrededor de 5 años hace | 0

Resuelto


Back to basics 15 - classes
Covering some basic topics I haven't seen elsewhere on Cody. Return the class of the input variable.

alrededor de 5 años hace

Resuelto


Basic electricity in a dry situation
&#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#...

alrededor de 5 años hace

Resuelto


02 - Vector Variables 5
_eVec_ = _Hello_ ( _eVec_ is a string, which is a vector of characters )

alrededor de 5 años hace

Resuelto


03 - Matrix Variables 5
Make the following variable: <<http://samle.dk/STTBDP/Assignment1_3e.png>>

alrededor de 5 años hace

Resuelto


Converting binary to decimals
Convert binary to decimals. Example: 010111 = 23. 110000 = 48.

alrededor de 5 años hace

Cargar más