Community Profile

photo

Abolfazl Chaman Motlagh


Last seen: 1日 前 2020 以来アクティブ

Statistics

All
  • Knowledgeable Level 4
  • Revival Level 1
  • Speed Demon
  • First Answer
  • Introduction to MATLAB Master
  • Promoter
  • Community Group Solver
  • Solver

バッジを表示

Content Feed

表示方法

回答済み
How to construct a symbolic pde that contains symbolic functions of certain variables (x & t)
you can write it this way: %Blade params functions of x and t syms dw(x,t) w(x,t) w_xx(x,t) q(x,t) EIx(x) mu(x) %Lagrangian ...

2日 前 | 1

回答済み
How to flatten the output of convolution1dLayer
by X(:) you are reshaping x to Nx1 vector, but you chose "CB" format for the array which is going to assume the array is 2 dimen...

7日 前 | 0

回答済み
Multi label Image Classification using Deep Learning
Hi, Look at this example : multilabel image classification using deep learning

8日 前 | 1

| 採用済み

回答済み
how can I increase the size of an incremental vector filling the space with zeros
use ismember function. X = cumsum(randi(3,1,5)) Y = 1:X(end); Y = ismember(Y,X).*Y

14日 前 | 1

| 採用済み

回答済み
How to determine whether a 3d point lies within a set of 3d points (a modeled room)
there is one easy way i can think, but that's not maybe very easy to write. you can devide the the while interior of set into s...

15日 前 | 0

回答済み
I would like to sum a 2 dim array group by value in second column
there are a lot of ways to do this, here's a simple solution. i would recommend you to understand every line and run it line by ...

16日 前 | 0

回答済み
How do I rotate a rectangular surface by a certain angle and center?
use the cordinate linear transformation. for this first subtract the center coordinate, rotate the coordinate, and finally shift...

16日 前 | 1

| 採用済み

回答済み
How to solve a MATLAB script that will plot cos(x) for x values ranging from –pi to pi with argument to change line widths?
there is nothing wrong with the code or anything. all you should do is calling the function. you can either save the function in...

16日 前 | 1

| 採用済み

回答済み
How to display a 2D square as a 3D cube
Use volshow function : thisSlice = dicomread('IMG-0004-00079.dcm'); thisSlice = double(thisSlice); thisSlice = (thisSlice-min...

4ヶ月 前 | 1

| 採用済み

回答済み
Image Compression: How to use blockproc function with dct2 inside
you created DCT_Trans function for blockprop . it's a function which takes structure as input. if you pass structure S to it's i...

4ヶ月 前 | 0

回答済み
Fitting multiple data sets to single curve in least square sense
the nlinfit function take a vector as second input y, because it's cost function for optimization and regression is based on sca...

4ヶ月 前 | 0

回答済み
Why am I getting this error? Local function name must be different from the script name.
Name of your live script is project.mlx and name of your local function within it is also project which leads to error. try diff...

4ヶ月 前 | 0

回答済み
How do I use the besselj function?
The function besselj(nu,x) is in fact two variable function as . you put v(i) and z(i) simultaneously with same index in argum...

4ヶ月 前 | 1

| 採用済み

解決済み


Sums of cubes and squares of sums
Given the positive integers 1:n, can you: 1. Compute twice the sum of the cubes of those numbers. 2. Subtract the square...

4ヶ月 前

解決済み


Digital Neighbourhood
Given a natural number reorder its digits to create another number, closest to the given one. Examples: * 123 gives 132, ...

4ヶ月 前

回答済み
select ROI, threshold it and remove small objects - App designer
about the first problem: you overwrite the app.Icrop on app.I every time the slider changes. so after first time, it goes comp...

4ヶ月 前 | 1

| 採用済み

回答済み
Asking for user input of numbers and letters.
if the plate (variable) could have both number and latters, deal with them like string. for getting input as string you need ext...

4ヶ月 前 | 1

回答済み
plotting delta function in zero interpolation and decimation
the problem you are adressing is that n and m are 1x100 vector each. so the term (n-m*L) is 1x100 array. and it means h1 and h2 ...

4ヶ月 前 | 0

| 採用済み

回答済み
Recursive Least Squares Estimation for Dynamic Systems in Real time
The first time rlsupdate is called the value of P,phi are set to eye(2) and 0. in the line 15 of code you have inverse of eye(1)...

4ヶ月 前 | 0

回答済み
Can my code be written in a more efficient way?
if clearvars are not important, this is exactly equal to what you're doing: % Specify participant folder DotFolder = [Folder '...

4ヶ月 前 | 0

| 採用済み

回答済み
Getting error in ode 45
you put ode45 and plot in your ode function. try this : (all in one script) [t,c] = ode45(@odefun1,[0 10],[1;0;0]); plot(t,c(:...

4ヶ月 前 | 0

回答済み
All the possible path between two points without repetition
You can solve this problem with your data as a matrix, or as a graph. the matrix make it easier i guess: a traditional method w...

4ヶ月 前 | 1

| 採用済み

回答済み
How to create a rectangle to locate a zooming area in a plot?
in first axes use function rectangle. y_min = min(Ly_orb.JacobiConstant(indexOfInterest)); % need indexofInterest for this y_m...

4ヶ月 前 | 1

| 採用済み

回答済み
Write a MATLAB script to find the multiplies of the even numbers of any 𝑁 × 𝑀 matrix entered by the user?
Matrix = randi(100,7,5) multip = prod(Matrix(~rem(Matrix,2)))

4ヶ月 前 | 0

回答済み
Find the optimal state and optimal control based on minimizing the performance index
your cost_function doesn't return a scalar. it should return one number for every input. it seems that x is a 1xn vector. and u...

4ヶ月 前 | 0

回答済み
How to find area enclosed between two curves?
i don't think the code you include in your question content related to what you want. you have to vector, which are values of y...

4ヶ月 前 | 0

回答済み
How can I use images which have different size for CNN?
except some special cases, there is a limitation for forwarding different size arrays toward a CNN. after images pass the convol...

4ヶ月 前 | 0

| 採用済み

回答済み
Solve the partial differential equation using Crank-Nicolson method.
Hi. you forget to put index in x vector in line 70, in equation you calculate Ur. that's the error. Ur(i,j) = 0.5*erfc(0.5*(x(...

5ヶ月 前 | 0

| 採用済み

回答済み
Convert Python code (loop) to MATLAB
it depend on what class you want folds be. (an array, a cell , ... ) for example if all elements in list have same lenght, here...

5ヶ月 前 | 0

| 採用済み

回答済み
Why is the eigenvalue a column of zeroes
for the system , is technically a solution. you should search for non-trivial solution. for this you should create null space ...

5ヶ月 前 | 0

もっと読み込む